Skip to main content

A Django app to integrate client side javascript logging with JSNLog.

Project description

https://badge.fury.io/py/django-jsnlog.svg

A django integration for client side logging for javascript with JSNLog https://jsnlog.com/.

Documentation

The full documentation is at https://django-jsnlog.readthedocs.io.

Quickstart

Install django-jsnlog:

pip install django-jsnlog

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'jsnlog',
    ...
)

Add django-jsnlog’s URL patterns:

urlpatterns += [
    path(r'jsnlog.logger', include('jsnlog.urls')),
]

Add django-jsnlog’s javascript files to your template:

...
<script type="text/javascript" src="{% static 'jsnlog/js/jsnlog.min.js' %}"></script>
<script type="text/javascript" src="{% static 'jsnlog/js/django-jsnlog.js' %}"></script>
...

Credits

Tools used in rendering this package:

History

0.4.0 (2024-03-07)

  • version bump for django upgrade

0.3.0 (2023-11-02)

  • change status code from 200 to 204

0.2.0 (2021-04-14)

  • Second release on PyPI.

  • clean up the code

0.1.0 (2021-04-14)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-jsnlog-0.4.0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

django_jsnlog-0.4.0-py2.py3-none-any.whl (8.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-jsnlog-0.4.0.tar.gz.

File metadata

  • Download URL: django-jsnlog-0.4.0.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for django-jsnlog-0.4.0.tar.gz
Algorithm Hash digest
SHA256 3293c13f20f78e49174f88db896e7a2136971bf5d186f208c32e97d69b66513f
MD5 0f327037840d94befdea90384ebbbf8e
BLAKE2b-256 1f5f04092fbb736fa65e36d8edbb2d6aada6d86bfff0e652e16a18f9e1d2cc4d

See more details on using hashes here.

File details

Details for the file django_jsnlog-0.4.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_jsnlog-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 753a2c7d4e5a17ede7da2307b3b3006591469767962142ca7eed987d461c01ec
MD5 6c4ebfd8e7f875a2f9a22379f077b05f
BLAKE2b-256 d2380472f1cb803fab9542bb5b6fc6245523be0e2a43caab0ec831948525ad13

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page