Browse files

Added missing 'staff_member_required' decorator to change_stage() adm…

…in view

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2009 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 017aa34 commit c4ab08a7a52be0ec99a0a5c5753f5959204d003a @adrianholovaty adrianholovaty committed Jan 16, 2006
Showing with 1 addition and 0 deletions.
  1. +1 −0 django/contrib/admin/views/main.py
View
1 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

0 comments on commit c4ab08a

Please sign in to comment.