From 58f4007b556a5fbabed8c718e402b3eeecca6434 Mon Sep 17 00:00:00 2001 From: Robert Wittams Date: Sat, 19 Nov 2005 23:21:57 +0000 Subject: [PATCH] Fix #844 git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1294 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/views/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/admin/views/main.py b/django/contrib/admin/views/main.py index 1a57aacbbb..96b59bc105 100644 --- a/django/contrib/admin/views/main.py +++ b/django/contrib/admin/views/main.py @@ -486,7 +486,7 @@ def change_stage(request, app_label, module_name, object_id): if not request.user.has_perm(app_label + '.' + opts.get_change_permission()): raise PermissionDenied if request.POST and request.POST.has_key("_saveasnew"): - return add_stage_new(request, app_label, module_name, form_url='../add/') + return add_stage(request, app_label, module_name, form_url='../add/') try: manipulator = mod.ChangeManipulator(object_id) except ObjectDoesNotExist: