Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #1092 -- Fixed behavior for query-string overrides in admin forms

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1758 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d971b31695f6f1f1be86d97935119061bf167862 1 parent f16033e
@adrianholovaty adrianholovaty authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 django/contrib/admin/views/main.py
View
5 django/contrib/admin/views/main.py
@@ -429,8 +429,9 @@ def add_stage(request, app_label, module_name, show_delete=False, form_url='', p
# 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.
Please sign in to comment.
Something went wrong with that request. Please try again.