aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework
diff options
context:
space:
mode:
authorglic3rinu2013-03-28 12:01:47 +0100
committerglic3rinu2013-03-28 12:01:47 +0100
commit9c32f048b51ec6852236363932f0ab0dcc7473ac (patch)
treefdba19ca9a4872d08f34504548a0cff9efeb05ce /rest_framework
parent3774ba3ed2af918563eb6ed945cc13aa7fa2345a (diff)
downloaddjango-rest-framework-9c32f048b51ec6852236363932f0ab0dcc7473ac.tar.bz2
Cleaned imports on templatetags/rest_framework module
Diffstat (limited to 'rest_framework')
-rw-r--r--rest_framework/templatetags/rest_framework.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/rest_framework/templatetags/rest_framework.py b/rest_framework/templatetags/rest_framework.py
index 33bae241..b6ab2de3 100644
--- a/rest_framework/templatetags/rest_framework.py
+++ b/rest_framework/templatetags/rest_framework.py
@@ -4,12 +4,8 @@ from django.core.urlresolvers import reverse, NoReverseMatch
from django.http import QueryDict
from django.utils.html import escape
from django.utils.safestring import SafeData, mark_safe
-from rest_framework.compat import urlparse
-from rest_framework.compat import force_text
-from rest_framework.compat import six
-from rest_framework.compat import smart_urlquote
-import re
-import string
+from rest_framework.compat import urlparse, force_text, six, smart_urlquote
+import re, string
register = template.Library()