From c4ab08a7a52be0ec99a0a5c5753f5959204d003a Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Mon, 16 Jan 2006 18:49:24 +0000 Subject: [PATCH] Added missing 'staff_member_required' decorator to change_stage() admin view git-svn-id: http://code.djangoproject.com/svn/django/trunk@2009 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/views/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/contrib/admin/views/main.py b/django/contrib/admin/views/main.py index 65d96a8780..e444bedf8e 100644 --- a/django/contrib/admin/views/main.py +++ b/django/contrib/admin/views/main.py @@ -541,6 +541,7 @@ def change_stage(request, app_label, module_name, object_id): }) return render_change_form(opts,manipulator, app_label, c, change=True) +change_stage = staff_member_required(change_stage) def _nest_help(obj, depth, val): current = obj