Skip to main content

Django app for audit logging.

Project description

Django Trails is a Django app to provide audit logging capability to your Django project. Its main goals are to:

  • Capture the current request and user with middleware.

  • Capture database changes using signals.

  • Log user and changes to the database.

  • Log user and changes using Python logging library.

  • Provide admin interface to view full audit trail for an object or user.

  • Provide flexible template-based rendering of audit trails.

While a number of parts are functional, it is still considered alpha quality and does not yet support the following:

  • Capturing changes made to many to many relationships.

  • Tests to verify correct handling of proxy models or model inheritance.

  • Tests to verify handling of custom model fields.

  • Actually using the Python logging module.

It is tested against Python 2.5, 2.6 and 2.7 and Django 1.3, 1.4 and 1.5 (except for Python 2.5 which isn’t supported by Django 1.5).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-trails-0.2a2.tar.gz (10.2 kB view details)

Uploaded Source

File details

Details for the file django-trails-0.2a2.tar.gz.

File metadata

File hashes

Hashes for django-trails-0.2a2.tar.gz
Algorithm Hash digest
SHA256 432ef016f5a1ca5905597d2a70003b03a875f4b28a9a4cc942a51ff5d04c2213
MD5 44e1f1dad4698cf9a4fd8827854eac3e
BLAKE2b-256 ee82d156b12292c156757962e51cf85d152d26db6e94dde24647fd276adce4c7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page