Skip to main content

django-jsnlog

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.

Metadata

Release files for django-jsnlog 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-jsnlog 0.4.0
File Size Uploaded
django-jsnlog-0.4.0.tar.gz 10.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-jsnlog 0.4.0
File Interpreter ABI Platform
django_jsnlog-0.4.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 18.8 kB

Release files / django-jsnlog-0.4.0.tar.gz

Download URL django-jsnlog-0.4.0.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3293c13f20f78e49174f88db896e7a2136971bf5d186f208c32e97d69b66513f
BLAKE2b-256 checksum
How to use checksums
1f5f04092fbb736fa65e36d8edbb2d6aada6d86bfff0e652e16a18f9e1d2cc4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.18

Release files / django_jsnlog-0.4.0-py2.py3-none-any.whl

Download URL django_jsnlog-0.4.0-py2.py3-none-any.whl
Size 8.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
753a2c7d4e5a17ede7da2307b3b3006591469767962142ca7eed987d461c01ec
BLAKE2b-256 checksum
How to use checksums
d2380472f1cb803fab9542bb5b6fc6245523be0e2a43caab0ec831948525ad13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.18

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page