A Django app to integrate client side javascript logging with JSNLog.
Project description
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 hashes)
Built Distribution
Close
Hashes for django_jsnlog-0.4.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 753a2c7d4e5a17ede7da2307b3b3006591469767962142ca7eed987d461c01ec |
|
MD5 | 6c4ebfd8e7f875a2f9a22379f077b05f |
|
BLAKE2b-256 | d2380472f1cb803fab9542bb5b6fc6245523be0e2a43caab0ec831948525ad13 |