mirror of https://github.com/django/django.git
Fixed imports to adhere to django coding style.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6909 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
c39d6e89f1
commit
3e360fc963
|
@ -1,9 +1,12 @@
|
||||||
|
import os
|
||||||
|
import re
|
||||||
|
import sys
|
||||||
|
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from django.template import Template, Context, TemplateDoesNotExist
|
from django.template import Template, Context, TemplateDoesNotExist
|
||||||
from django.utils.html import escape
|
from django.utils.html import escape
|
||||||
from django.http import HttpResponseServerError, HttpResponseNotFound
|
from django.http import HttpResponseServerError, HttpResponseNotFound
|
||||||
from django.utils.encoding import smart_unicode
|
from django.utils.encoding import smart_unicode
|
||||||
import os, re, sys
|
|
||||||
|
|
||||||
HIDDEN_SETTINGS = re.compile('SECRET|PASSWORD|PROFANITIES_LIST')
|
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 }}
|
Request URL: {{ request_protocol }}://{{ request.META.HTTP_HOST }}{{ request.path|escape }}
|
||||||
Django Version: {{ django_version_info }}
|
Django Version: {{ django_version_info }}
|
||||||
Python Version: {{ sys_version_info }}
|
Python Version: {{ sys_version_info }}
|
||||||
Installed Applications:
|
Installed Applications:
|
||||||
{{ settings.INSTALLED_APPS|pprint }}
|
{{ settings.INSTALLED_APPS|pprint }}
|
||||||
Installed Middleware:
|
Installed Middleware:
|
||||||
{{ settings.MIDDLEWARE_CLASSES|pprint }}
|
{{ settings.MIDDLEWARE_CLASSES|pprint }}
|
||||||
|
|
||||||
{% if template_does_not_exist %}Template Loader Error:
|
{% if template_does_not_exist %}Template Loader Error:
|
||||||
|
|
Loading…
Reference in New Issue