summaryrefslogtreecommitdiff
path: root/django/http
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2011-10-18 00:47:49 +0000
committerAlex Gaynor <alex.gaynor@gmail.com>2011-10-18 00:47:49 +0000
commit396fcaaef92b6e5e56175b883c2cf6fcbda7ae97 (patch)
treeb6c03f40f6503c1c66637aedd69e9568103a18e9 /django/http
parent66210cbc702af9ff5d6b08c87d09b10bd84fc0dd (diff)
Remove all relative imports. We have always been at war with relative imports.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17009 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/http')
-rw-r--r--django/http/__init__.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/django/http/__init__.py b/django/http/__init__.py
index c6bf2f174f..fee3f04cd3 100644
--- a/django/http/__init__.py
+++ b/django/http/__init__.py
@@ -1,3 +1,5 @@
+from __future__ import absolute_import
+
import datetime
import os
import re
@@ -109,14 +111,14 @@ class CompatCookie(SimpleCookie):
warnings.warn("CompatCookie is deprecated, use django.http.SimpleCookie instead.",
DeprecationWarning)
-from django.utils.datastructures import MultiValueDict, ImmutableList
-from django.utils.encoding import smart_str, iri_to_uri, force_unicode
-from django.utils.http import cookie_date
-from django.http.multipartparser import MultiPartParser
from django.conf import settings
from django.core import signing
from django.core.files import uploadhandler
-from utils import *
+from django.http.multipartparser import MultiPartParser
+from django.http.utils import *
+from django.utils.datastructures import MultiValueDict, ImmutableList
+from django.utils.encoding import smart_str, iri_to_uri, force_unicode
+from django.utils.http import cookie_date
RESERVED_CHARS="!*'();:@&=+$,/?%#[]"