diff options
author | Tim Graham <timograham@gmail.com> | 2015-01-28 07:35:27 -0500 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2015-02-06 08:16:28 -0500 |
commit | 0ed7d155635da9f79d4dd67e4889087d3673c6da (patch) | |
tree | cf5c59b563f01774f32e20b3af8cb24a387fdc4d /django/http/request.py | |
parent | 388d986b8a6bb1363dab9f53ea435dff4dfe92cb (diff) | |
download | django-0ed7d155635da9f79d4dd67e4889087d3673c6da.tar.gz |
Sorted imports with isort; refs #23860.
Diffstat (limited to 'django/http/request.py')
-rw-r--r-- | django/http/request.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/django/http/request.py b/django/http/request.py index ea32574c68..398cf20dfb 100644 --- a/django/http/request.py +++ b/django/http/request.py @@ -14,12 +14,13 @@ from django.core.exceptions import DisallowedHost, ImproperlyConfigured from django.core.files import uploadhandler from django.http.multipartparser import MultiPartParser, MultiPartParserError from django.utils import six -from django.utils.datastructures import MultiValueDict, ImmutableList +from django.utils.datastructures import ImmutableList, MultiValueDict from django.utils.encoding import ( - force_bytes, force_text, force_str, escape_uri_path, iri_to_uri, + escape_uri_path, force_bytes, force_str, force_text, iri_to_uri, +) +from django.utils.six.moves.urllib.parse import ( + parse_qsl, quote, urlencode, urljoin, urlsplit, ) -from django.utils.six.moves.urllib.parse import parse_qsl, urlencode, quote, urljoin, urlsplit - RAISE_ERROR = object() host_validation_re = re.compile(r"^([a-z0-9.-]+|\[[a-f0-9]*:[a-f0-9:]+\])(:\d+)?$") |