Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #15642 -- Removed redundant imports in http/ Thanks…

…, jammon

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 8121aa60fd2dbc18dd8f4bfd42e4c1567c1199b6 1 parent 5e0f5fb
Adrian Holovaty adrianholovaty authored
Showing with 0 additions and 6 deletions.
  1. +0 −6 django/http/
6 django/http/
@@ -326,9 +326,6 @@ class QueryDict(MultiValueDict):
def __init__(self, query_string, mutable=False, encoding=None):
if not encoding:
- # *Important*: do not import settings any earlier because of note
- # in core.handlers.modpython.
- from django.conf import settings
encoding = settings.DEFAULT_CHARSET
self.encoding = encoding
for key, value in parse_qsl((query_string or ''), True): # keep_blank_values=True
@@ -338,9 +335,6 @@ def __init__(self, query_string, mutable=False, encoding=None):
def _get_encoding(self):
if self._encoding is None:
- # *Important*: do not import settings at the module level because
- # of the note in core.handlers.modpython.
- from django.conf import settings
self._encoding = settings.DEFAULT_CHARSET
return self._encoding
Please sign in to comment.
Something went wrong with that request. Please try again.