Skip to main content

Store model history and view/revert changes from admin site.

Project description

django-simple-history

https://secure.travis-ci.org/treyhunner/django-simple-history.png?branch=master https://coveralls.io/repos/treyhunner/django-simple-history/badge.png?branch=master https://pypip.in/v/django-simple-history/badge.png https://pypip.in/d/django-simple-history/badge.png

django-simple-history stores Django model state on every create/update/delete.

This app requires Django 1.3.7 or greater and Python 2.6 or greater.

Getting Help

Documentation is available at https://django-simple-history.readthedocs.org/

Issue tracker is at https://github.com/treyhunner/django-simple-history/issues

Pull requests are welcome. Read the CONTRIBUTING file for tips on submitting a pull request.

Bitdeli badge

Changes

1.4.0 (2014-06-29)

  • Fixed error that occurs when models have a foreign key pointing to a one to one field.

  • Fix bug when model verbose_name uses unicode (gh-76)

  • Allow non-integer foreign keys

  • Allow foreign keys referencing the name of the model as a string

  • Added the ability to specify a custom history_date

  • Note that simple_history should be added to INSTALLED_APPS (gh-94 fixes gh-69)

  • Properly handle primary key escaping in admin URLs (gh-96 fixes gh-81)

  • Add support for new app loading (Django 1.7+)

  • Allow specifying custom base classes for historical models (gh-98)

1.3.0 (2013-05-17)

  • Fixed bug when using django-simple-history on nested models package

  • Allow history table to be formatted correctly with django-admin-bootstrap

  • Disallow calling simple_history.register twice on the same model

  • Added Python 3 support

  • Added support for custom user model (Django 1.5+)

1.2.3 (2013-04-22)

  • Fixed packaging bug: added admin template files to PyPI package

1.2.1 (2013-04-22)

  • Added tests

  • Added history view/revert feature in admin interface

  • Various fixes and improvements

Oct 22, 2010

  • Merged setup.py from Klaas van Schelven - Thanks!

Feb 21, 2010

  • Initial project creation, with changes to support ForeignKey relations.

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-simple-history-1.4.0.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

django_simple_history-1.4.0-py2.py3-none-any.whl (16.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-simple-history-1.4.0.tar.gz.

File metadata

File hashes

Hashes for django-simple-history-1.4.0.tar.gz
Algorithm Hash digest
SHA256 3e798cd5c0356926b3eebf2225e676e680a131d32201301268b26d1aa2a25a47
MD5 02622dde915f8f4fe8d87fd426c488f4
BLAKE2b-256 770487f47dd0b0ae252382d43f03fd23722d49123d9fcf4d638e3044ad91603b

See more details on using hashes here.

File details

Details for the file django_simple_history-1.4.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_simple_history-1.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c9c8c9f4b343f1fc1d31da80b360e39aecc030b0a7b6a0601f5b061a31c8d927
MD5 84246e1676d0388f11e54ec579f81662
BLAKE2b-256 aef8b46a2f5c0a091690c8622f818888f73e06ae02173058351c76db3da54e9e

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