django-client-errors

Software Screenshot:
django-client-errors
Software Details:
Version: 0.0.3
Upload Date: 20 Feb 15
Developer: Beau Sorensen
Distribution Type: Freeware
Downloads: 2

Rating: nan/5 (Total Votes: 0)

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

Requirements:

  • Python
  • Django

Comments to django-client-errors

Comments not found
Add Comment
Turn on images!