summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2014-06-28 12:41:18 -0500
committerDan McGee <dan@archlinux.org>2014-09-01 18:26:05 -0500
commitdf672693d9530acadcac0cbc75553749fb58f9cd (patch)
treea667637423a572bfa9f6b0a7b863e8076efe08f8 /devel
parent0896b5697a09e1da532e9e42bbc4b2da2dd2d856 (diff)
Update for admin changes for Django 1.7
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel')
-rw-r--r--devel/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/views.py b/devel/views.py
index 972d0abb..92cb098e 100644
--- a/devel/views.py
+++ b/devel/views.py
@@ -5,6 +5,7 @@ import time
from django.http import HttpResponseRedirect
from django.contrib.auth.decorators import \
login_required, permission_required, user_passes_test
+from django.contrib import admin
from django.contrib.admin.models import LogEntry, ADDITION
from django.contrib.auth.models import User
from django.contrib.contenttypes.models import ContentType
@@ -259,6 +260,7 @@ def admin_log(request, username=None):
'title': "Admin Action Log",
'log_user': user,
}
+ context.update(admin.site.each_context())
return render(request, 'devel/admin_log.html', context)
# vim: set ts=4 sw=4 et: