diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2006-01-16 18:49:24 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2006-01-16 18:49:24 +0000 |
| commit | c4ab08a7a52be0ec99a0a5c5753f5959204d003a (patch) | |
| tree | 8682e7690564f4da69fc36edbe006b9b57a849fb /django/contrib/admin/views | |
| parent | 017aa34ddb0e10f545c641097cd7de524f9f90e9 (diff) | |
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
Diffstat (limited to 'django/contrib/admin/views')
| -rw-r--r-- | django/contrib/admin/views/main.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
