Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A utility to store and access information about changes on objects in a Django project.

Project Description

A utility to store and access information about changes on objects in a Django project.


pip install django-changes

Add to your Python path or install and add 'changes' to your INSTALLED_APPS setting.


You can use by importing the helper:

from changes import changes
# ...
changes.add_change(someobj, who=request.user)

Or by using the object directly:

from changes.models import Change
# ...
Change.objects.add_change_for_object(someobj, why='Because')

To get a queryset of changes that were added for an objects:




To get a queryset of changes that were made by a user:




You can also do things like this:


Included is a ‘Mixin’ for your models that you expect to be recording changes on a lot that will give you the reverse relation changes:

from changes.models import ChangesMixin
# ...
class SomeModel(ChangesMixin, models.Model)

This mixin will give you some helpful methods:

somemodelinstance.add_change(why='Time for change')

You can also add a change when saving:, who=someuser, why='Changing')

The default behaviour is to not save a change:

The mixin also omits a signal, change_added when a change is added for the object.

See the source code for more.

Release History

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-changes-0.2.2.tar.gz (5.4 kB) Copy SHA256 Checksum SHA256 Source Jul 4, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting