mirror of
https://github.com/django/django.git
synced 2025-09-30 22:11:18 +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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue