summaryrefslogtreecommitdiff
path: root/tests/regressiontests/urlpatterns_reverse/included_urls2.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2011-10-13 21:34:56 +0000
committerAlex Gaynor <alex.gaynor@gmail.com>2011-10-13 21:34:56 +0000
commit8c0eefd066aa0e5bfe8c1006d055be8e2ad69a2b (patch)
treebded379649862a6b9c28553bc5130da524aac209 /tests/regressiontests/urlpatterns_reverse/included_urls2.py
parentf830166167833cfb7c990764f72373a9f4494259 (diff)
downloaddjango-8c0eefd066aa0e5bfe8c1006d055be8e2ad69a2b.tar.gz
Convert the remainder of the relative imports in the tests to be absolute imports.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16981 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/urlpatterns_reverse/included_urls2.py')
-rw-r--r--tests/regressiontests/urlpatterns_reverse/included_urls2.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/regressiontests/urlpatterns_reverse/included_urls2.py b/tests/regressiontests/urlpatterns_reverse/included_urls2.py
index b6fb4c6a6a..98605047f4 100644
--- a/tests/regressiontests/urlpatterns_reverse/included_urls2.py
+++ b/tests/regressiontests/urlpatterns_reverse/included_urls2.py
@@ -5,8 +5,12 @@ each name to resolve and Django must distinguish the possibilities based on the
argument list.
"""
+from __future__ import absolute_import
+
from django.conf.urls import patterns, url
-from views import empty_view
+
+from .views import empty_view
+
urlpatterns = patterns('',
url(r'^part/(?P<value>\w+)/$', empty_view, name="part"),