django-db-log

Django DB Error Logging
Download

django-db-log Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • David Cramer
  • Publisher web site:
  • http://code.google.com/u/dcramer/

django-db-log Tags


django-db-log Description

Django DB Error Logging django-db-log is a Django plugin that logs Django exceptions to your database handler.Installation InstructionsDownload and install the package using distutils:svn checkout http://django-db-log.googlecode.com/svn/trunk/ django-db-logcd django-db-logsudo python setup.py installUpdate your settings.py and add the middleware and installed apps settings:MIDDLEWARE_CLASSES = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'djangodblog.DBLogMiddleware',)INSTALLED_APPS = ( 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'djangodblog',)Finally, run python manage.py syncdb to create the database tables.UsageYou will find two new admin panels in the automatically built Django administration:* Errors* Error batchs It will store every single error inside of "Errors", and it will store a collective, or summary, of errors inside of Error batchs (this is more useful for most cases). Requirements: · Django · Python


django-db-log Related Software