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
This commit is contained in:
parent
017aa34ddb
commit
c4ab08a7a5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue