aboutsummaryrefslogtreecommitdiffstats
path: root/settings.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-02-14 07:24:24 +0000
committerPaul Eggleton <paul.eggleton@linux.intel.com>2013-02-14 07:25:21 +0000
commit45514d387b8afdb35a858265ef5b0f0307c25ac8 (patch)
tree09b9673d5e89050a6ead3c3aa0f3115c96805a4f /settings.py
parent2eb5f38b21396b6584f532f9bb763918f0860cdd (diff)
downloadopenembedded-core-contrib-45514d387b8afdb35a858265ef5b0f0307c25ac8.tar.gz
Enable auditing using django-reversion and django-reversion-compare
Collect history for changes, and allow browsing / reverting / comparison within the admin interface. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/settings.py b/settings.py
index 068ea3e2f1..53dac13747 100644
--- a/settings.py
+++ b/settings.py
@@ -105,6 +105,7 @@ MIDDLEWARE_CLASSES = (
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
+ 'reversion.middleware.RevisionMiddleware',
)
ROOT_URLCONF = 'urls'
@@ -128,7 +129,9 @@ INSTALLED_APPS = (
# Uncomment the next line to enable admin documentation:
# 'django.contrib.admindocs',
'layerindex',
- 'registration'
+ 'registration',
+ 'reversion',
+ 'reversion_compare'
)
# A sample logging configuration. The only tangible logging