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.1.0.tar.gz
(10.2 kB
view hashes)
Built Distribution
Close
Hashes for django_jsnlog-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4e882cec324e5058ae42a9a4ba0f832a16df85d64ca2cfaed37d4df0f9ece9c |
|
MD5 | a2bdd7229fe3b816369bd1cdc672cd78 |
|
BLAKE2b-256 | 035f3bddead698e1d10ed7f7000a92b7498d08210dfffaf54df33cf9271b4ad6 |