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
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3293c13f20f78e49174f88db896e7a2136971bf5d186f208c32e97d69b66513f |
|
MD5 | 0f327037840d94befdea90384ebbbf8e |
|
BLAKE2b-256 | 1f5f04092fbb736fa65e36d8edbb2d6aada6d86bfff0e652e16a18f9e1d2cc4d |
File details
Details for the file django_jsnlog-0.4.0-py2.py3-none-any.whl
.
File metadata
- Download URL: django_jsnlog-0.4.0-py2.py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 753a2c7d4e5a17ede7da2307b3b3006591469767962142ca7eed987d461c01ec |
|
MD5 | 6c4ebfd8e7f875a2f9a22379f077b05f |
|
BLAKE2b-256 | d2380472f1cb803fab9542bb5b6fc6245523be0e2a43caab0ec831948525ad13 |