diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-11-30 04:13:21 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-11-30 04:13:21 +0000 |
| commit | d89f0411392692d4b69f613d053a2affe30acec6 (patch) | |
| tree | cbb2de796a5f9bd4749c03a1a7b13249dc2122a0 /django/utils | |
| parent | 991bb6124206a503545f5963e5048af45b1751eb (diff) | |
Fixed bug in QueryDict parse_sql() call under mod_python, which requires query_string to be an empty string, not None
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/utils')
| -rw-r--r-- | django/utils/httpwrappers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/httpwrappers.py b/django/utils/httpwrappers.py index 32f2bfb8f7..6a64592eaa 100644 --- a/django/utils/httpwrappers.py +++ b/django/utils/httpwrappers.py @@ -69,7 +69,7 @@ class QueryDict(MultiValueDict): def __init__(self, query_string): MultiValueDict.__init__(self) self._mutable = True - for key, value in parse_qsl(query_string, True): # keep_blank_values=True + for key, value in parse_qsl((query_string or ''), True): # keep_blank_values=True self.appendlist(key, value) self._mutable = False |
