Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page