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
This commit is contained in:
Adrian Holovaty 2005-11-30 04:13:21 +00:00
parent 991bb61242
commit d89f041139
1 changed files with 1 additions and 1 deletions

View File

@ -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