From 7b7d1e8939a8a56df853d27bd8ef842d85434a31 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Wed, 21 Dec 2005 03:39:27 +0000 Subject: [PATCH] magic-removal: Merged to [1758] git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1759 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/views/stages/add.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/django/contrib/admin/views/stages/add.py b/django/contrib/admin/views/stages/add.py index d4c475d874..fc23616064 100644 --- a/django/contrib/admin/views/stages/add.py +++ b/django/contrib/admin/views/stages/add.py @@ -51,8 +51,9 @@ def add_stage(request, path, show_delete=False, form_url='', post_url='../change # Add default data. new_data = manipulator.flatten_data() - # Override the defaults with request.GET, if it exists. - new_data.update(request.GET) + # Override the defaults with GET params, if they exist. + new_data.update(dict(request.GET.items())) + errors = {} # Populate the FormWrapper.