Skip to main content

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)

Project details


Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page