Skip to main content

A simple Django app to record data changer.

Project description



Datalogger is a simple Django app to record data changes.


Quick start

1. Installation.
pip install django-datalogger
1. Add `django-datalogger` to your INSTALLED_APPS setting like this::
1. Add `datalogger.middleware.common.DataUpadataDeleteMiddleware` to your MIDDLEWARE_CLASSES setting like this::
1. Run `python makemigrations` and `python migrate` to create the `django-datalogger` models.

1. Start your models inherit `LogOnUpdateDeleteModel` abstract model like this:
class TestA(LogOnUpdateDeleteModel):
name = models.CharField( max_length=128, blank=True)
memo = models.TextField()
create_at = models.DateTimeField(blank=True, auto_now_add=True)
update_at = models.DateTimeField(blank=True, auto_now=True)
1. Change the test model data by the model api.

1. You will find the data change log in datalogger models.You can visit
to see these changer.

Project details

Download files

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

Files for django-datalogger, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size (7.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page