diff options
| author | Gary Wilson Jr <gary.wilson@gmail.com> | 2007-12-11 05:38:34 +0000 |
|---|---|---|
| committer | Gary Wilson Jr <gary.wilson@gmail.com> | 2007-12-11 05:38:34 +0000 |
| commit | 3e360fc96300f84bd18476d06560983c8db9e9d4 (patch) | |
| tree | b8f3cf482b2b7c0f16ad64211918f627332705b6 | |
| parent | c39d6e89f1c87a14b77fe29fda06fff74b249b3e (diff) | |
Fixed imports to adhere to django coding style.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6909 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/views/debug.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/django/views/debug.py b/django/views/debug.py index cdec3f8d9d..242ee0c23b 100644 --- a/django/views/debug.py +++ b/django/views/debug.py @@ -1,9 +1,12 @@ +import os +import re +import sys + from django.conf import settings from django.template import Template, Context, TemplateDoesNotExist from django.utils.html import escape from django.http import HttpResponseServerError, HttpResponseNotFound from django.utils.encoding import smart_unicode -import os, re, sys HIDDEN_SETTINGS = re.compile('SECRET|PASSWORD|PROFANITIES_LIST') @@ -476,9 +479,9 @@ Request Method: {{ request.META.REQUEST_METHOD }} Request URL: {{ request_protocol }}://{{ request.META.HTTP_HOST }}{{ request.path|escape }} Django Version: {{ django_version_info }} Python Version: {{ sys_version_info }} -Installed Applications: +Installed Applications: {{ settings.INSTALLED_APPS|pprint }} -Installed Middleware: +Installed Middleware: {{ settings.MIDDLEWARE_CLASSES|pprint }} {% if template_does_not_exist %}Template Loader Error: |
