From 2d98a8391834421fba7dfb09be501524b70f9fc2 Mon Sep 17 00:00:00 2001 From: Joseph Kocherhans Date: Sat, 1 Dec 2007 19:33:49 +0000 Subject: [PATCH] newforms-admin: Fixed a bug where has_add_permission wasn't in the admin's add user context. git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6804 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/views/auth.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/contrib/admin/views/auth.py b/django/contrib/admin/views/auth.py index a36bef9e44..5c0f954d38 100644 --- a/django/contrib/admin/views/auth.py +++ b/django/contrib/admin/views/auth.py @@ -33,6 +33,7 @@ def user_add_stage(request): 'is_popup': '_popup' in request.REQUEST, 'add': True, 'change': False, + 'has_add_permission': True, 'has_delete_permission': False, 'has_change_permission': True, 'has_file_field': False,