diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2011-10-13 21:34:56 +0000 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2011-10-13 21:34:56 +0000 |
| commit | 8c0eefd066aa0e5bfe8c1006d055be8e2ad69a2b (patch) | |
| tree | bded379649862a6b9c28553bc5130da524aac209 /tests/regressiontests/urlpatterns_reverse/included_namespace_urls.py | |
| parent | f830166167833cfb7c990764f72373a9f4494259 (diff) | |
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_namespace_urls.py')
| -rw-r--r-- | tests/regressiontests/urlpatterns_reverse/included_namespace_urls.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/regressiontests/urlpatterns_reverse/included_namespace_urls.py b/tests/regressiontests/urlpatterns_reverse/included_namespace_urls.py index c878f97716..2743f67eea 100644 --- a/tests/regressiontests/urlpatterns_reverse/included_namespace_urls.py +++ b/tests/regressiontests/urlpatterns_reverse/included_namespace_urls.py @@ -1,6 +1,10 @@ +from __future__ import absolute_import + from django.conf.urls import patterns, url, include -from namespace_urls import URLObject -from views import view_class_instance + +from .namespace_urls import URLObject +from .views import view_class_instance + testobj3 = URLObject('testapp', 'test-ns3') |
