summaryrefslogtreecommitdiff
path: root/tests/shortcuts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shortcuts')
-rw-r--r--tests/shortcuts/tests.py2
-rw-r--r--tests/shortcuts/views.py3
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/shortcuts/tests.py b/tests/shortcuts/tests.py
index 98251244c5..08bcc55343 100644
--- a/tests/shortcuts/tests.py
+++ b/tests/shortcuts/tests.py
@@ -1,6 +1,6 @@
-from django.utils.deprecation import RemovedInDjango20Warning
from django.test import TestCase, ignore_warnings, override_settings
from django.test.utils import require_jinja2
+from django.utils.deprecation import RemovedInDjango20Warning
@override_settings(
diff --git a/tests/shortcuts/views.py b/tests/shortcuts/views.py
index 85d1922d58..f988edf8d9 100644
--- a/tests/shortcuts/views.py
+++ b/tests/shortcuts/views.py
@@ -1,10 +1,9 @@
import os.path
-from django.shortcuts import render_to_response, render
+from django.shortcuts import render, render_to_response
from django.template import Context, RequestContext
from django.utils._os import upath
-
dirs = (os.path.join(os.path.dirname(upath(__file__)), 'other_templates'),)