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.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.2.0.tar.gz
(10.1 kB
view hashes)
Built Distribution
Close
Hashes for django_jsnlog-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02938c23b044b97ea0dd48497bb15c4dbe518a917f18b7fb5ea135fcb228a0ff |
|
MD5 | 26dc7de5245a0f8b97879c2a5b790486 |
|
BLAKE2b-256 | 068072474e1370c050dd1df9cb4633b0237a7d57bd8969e66bf0808156ab3ad4 |