django-client-errors

  159 downloads
0.0.3 MIT/X Consortium License    
  not rated
Automatic JavaScript error tracking with browser and device information

description

download

specifications

django-client-errors is a Django app that provides automatic tracking of JavaScript errors for Django. Sends error information back to the server to be persisted in the database, uses jQuery if available to send all information, falling back to a GET request to send limited information.

Installation

bash
pip install django-client-errors


Alternatively, you can download the project and put the `client_errors` directory into your project directory.

Add the following app to your project's `INSTALLED_APPS` in the `settings.py` file:

'client_errors',

Add the following middleware to your project's `MIDDLEWARE_CLASSES` in the `settings.py` file:

client_errors.middleware.ClientErrorMiddleware',

Since this module contains a model of its own, you must add it to the database schema:

python manage.py syncdb

Or, if you are using `south` to manage your project, you can run the following command, however, this is best to use only if you have included the source code inside of your project. Otherwise, it will attempt to add the migration to the egg directory.

python manage.py schemamigration client_errors
READ MORE   
Last updated on June 18th, 2012

0 User reviews so far.

SUBMIT