KeyError Django client
The Django KeyError client posts errors that occur in your Django projects back to KeyError.
- Django >= 1.0.2
- Python >= 2.5
django_keyerrorpackage, eg. via Pip
$ pip install django-keyerror
If you do not use Pip, you can obtain the code from the django-keyerror Git repository.
Check if installation was successful:
$ ./manage.py shell Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48) [GCC 4.4.5] on linux2 Type "help", "copyright", "credits" or "license" for more information. (InteractiveConsole) >>> import django_keyerror >>>
If you don't see any errors here, installation was succesful.
INSTALLED_APPS = [ # [..] 'django_keyerror', # [..] ]
Add the KeyError middleware to the top of your
MIDDLEWARE_CLASSES = [ 'django_keyerror.middleware.KeyErrorMiddleware', # [..] ]
Add your KeyError secret key to your
KEYERROR_SECRET_KEY = '..secret..'
That's it! Your Django project will now send us your error tracebacks.
The client code is released under the terms of the BSD license and is available on Github.
Have any questions? Please email us at firstname.lastname@example.org.