From 3e360fc96300f84bd18476d06560983c8db9e9d4 Mon Sep 17 00:00:00 2001 From: Gary Wilson Jr Date: Tue, 11 Dec 2007 05:38:34 +0000 Subject: [PATCH] Fixed imports to adhere to django coding style. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6909 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/views/debug.py | 9 ++++++--- 1 file 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: