mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
magic-removal: Added missing staff_member_required decorator for change_stage admin view
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
3802561731
commit
d975a92676
@ -104,3 +104,4 @@ def change_stage(request, path, object_id):
|
|||||||
'path': path ,
|
'path': path ,
|
||||||
})
|
})
|
||||||
return render_change_form(model, manipulator, app_label, c, change=True)
|
return render_change_form(model, manipulator, app_label, c, change=True)
|
||||||
|
change_stage = staff_member_required(change_stage)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user