Skip to main content

An abstract base class providing automatic creator/editor/datetime_created/datetime_modified fields.

Project description

Author:

Chris Chambers

Date:
2012/05/08

Django Audited Models provides a simple abstract base class (and factory function) for tracking database record creation and modification times, as well as the creator of the record and the last user to edit it. It leverages two pluggable applications to achieve this:

  1. Django Extensions, which provides (amongst many other things) a CreationDateTimeField and ModificationDateTimeField.

  2. Django Threaded Multihost, originally developed for Satchmo, which provides a threadlocals mechanism that works reliably for Django installations powering multiple sites via the sites framework.

Requirements

  • Python 2.5+

  • Django 1.2+

  • Applications listed in requirements.txt

You will also need to install the applications listed in requirements-dev.txt in order to run the test suite.

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-audited-models-0.1.alpha.tar.gz (3.1 kB view hashes)

Uploaded Source

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