Django app to log javascript errors.
Project description
JSErr Django app to log javascript errors.
Updates February 7, 2013: added tracking for ip address, browser, browser version, os and if cookies are enabled Prerequisites PyYAML: http://pypi.python.org/pypi/PyYAML/ Setup Add jserr to apps list in your settings.py file.
INSTALLED_APPS = [ …, ‘jserr’, …, ]
Sync database.
./manage.py syncdb
In your template file add jserr template tag, likely before any javascript files that you want to track.
…. {% load jserr %} … {% jserr %}
Add the following to your urls.py file.
url(r’^jserr/’, include(‘jserr.urls’)),
Done :)
Note: only tracks errors when not in debug mode (DEBUG = False)