Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed imports to adhere to django coding style.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 3e360fc96300f84bd18476d06560983c8db9e9d4 1 parent c39d6e8
@gdub gdub authored
Showing with 6 additions and 3 deletions.
  1. +6 −3 django/views/
9 django/views/
@@ -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
@@ -476,9 +479,9 @@ def _get_lines_from_file(filename, lineno, context_lines, loader=None, module_na
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:
Please sign in to comment.
Something went wrong with that request. Please try again.