From 58b2374b688749847a9781025b611e19054ea1f6 Mon Sep 17 00:00:00 2001 From: Gary Wilson Jr Date: Tue, 11 Dec 2007 05:39:54 +0000 Subject: [PATCH] Fixed copy-and-paste view of error page to not indent the first line of installed apps and middleware. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6910 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/views/debug.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/views/debug.py b/django/views/debug.py index 242ee0c23b..18a396d3a6 100644 --- a/django/views/debug.py +++ b/django/views/debug.py @@ -480,9 +480,9 @@ Request URL: {{ request_protocol }}://{{ request.META.HTTP_HOST }}{{ request.pat Django Version: {{ django_version_info }} Python Version: {{ sys_version_info }} Installed Applications: - {{ settings.INSTALLED_APPS|pprint }} +{{ settings.INSTALLED_APPS|pprint }} Installed Middleware: - {{ settings.MIDDLEWARE_CLASSES|pprint }} +{{ settings.MIDDLEWARE_CLASSES|pprint }} {% if template_does_not_exist %}Template Loader Error: {% if loader_debug_info %}Django tried loading these templates, in this order: