diff options
| author | Tim Graham <timograham@gmail.com> | 2015-02-09 13:19:34 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-02-09 14:24:06 -0500 |
| commit | a8b70d251d238b4e6cfc7bb4296da15494f8dff3 (patch) | |
| tree | 94ef5bc53e59131906aecfcf792eeac86242aa62 /django/views/debug.py | |
| parent | eb406aa686ff1809903366ef6896037af2f1f69b (diff) | |
[1.8.x] Sorted imports with isort; refs #23860.
Backport of 0ed7d155635da9f79d4dd67e4889087d3673c6da from master
Diffstat (limited to 'django/views/debug.py')
| -rw-r--r-- | django/views/debug.py | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/django/views/debug.py b/django/views/debug.py index 19254c5cf2..0a4aa8f74d 100644 --- a/django/views/debug.py +++ b/django/views/debug.py @@ -7,20 +7,19 @@ import sys import types from django.conf import settings -from django.core.urlresolvers import resolve, Resolver404 -from django.http import (HttpResponse, HttpResponseNotFound, HttpRequest, - build_request_repr) +from django.core.urlresolvers import Resolver404, resolve +from django.http import ( + HttpRequest, HttpResponse, HttpResponseNotFound, build_request_repr, +) from django.template import Context, Engine, TemplateDoesNotExist from django.template.defaultfilters import force_escape, pprint +from django.utils import lru_cache, six from django.utils.datastructures import MultiValueDict -from django.utils.html import escape from django.utils.encoding import force_bytes, smart_text -from django.utils import lru_cache +from django.utils.html import escape from django.utils.module_loading import import_string -from django.utils import six from django.utils.translation import ugettext as _ - # Minimal Django templates engine to render the error templates # regardless of the project's TEMPLATES setting. DEBUG_ENGINE = Engine(debug=True) |
