diff options
| author | Tim Graham <timograham@gmail.com> | 2015-01-28 07:35:27 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-02-06 08:16:28 -0500 |
| commit | 0ed7d155635da9f79d4dd67e4889087d3673c6da (patch) | |
| tree | cf5c59b563f01774f32e20b3af8cb24a387fdc4d /tests/shortcuts | |
| parent | 388d986b8a6bb1363dab9f53ea435dff4dfe92cb (diff) | |
Sorted imports with isort; refs #23860.
Diffstat (limited to 'tests/shortcuts')
| -rw-r--r-- | tests/shortcuts/tests.py | 2 | ||||
| -rw-r--r-- | tests/shortcuts/views.py | 3 |
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'),) |
