Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit 58b2374b688749847a9781025b611e19054ea1f6 1 parent 3e360fc
@gdub gdub authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/views/debug.py
View
4 django/views/debug.py
@@ -480,9 +480,9 @@ def _get_lines_from_file(filename, lineno, context_lines, loader=None, module_na
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:
Please sign in to comment.
Something went wrong with that request. Please try again.