From df672693d9530acadcac0cbc75553749fb58f9cd Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 28 Jun 2014 12:41:18 -0500 Subject: Update for admin changes for Django 1.7 Signed-off-by: Dan McGee --- devel/views.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'devel') 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 @@ 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: -- cgit v1.2.3-54-g00ecf