Re-organized imports in handler modules to adhere to Django coding style.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6826 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Gary Wilson Jr 2007-12-02 02:22:19 +00:00
parent 1921554b2b
commit c882d7c99c
3 changed files with 10 additions and 8 deletions

View File

@ -1,7 +1,8 @@
import sys
from django import http
from django.core import signals
from django.dispatch import dispatcher
from django import http
import sys
class BaseHandler(object):
# Changes that are always applied to a response (in this order).

View File

@ -1,11 +1,12 @@
from django.core.handlers.base import BaseHandler
import os
from pprint import pformat
from django import http
from django.core import signals
from django.core.handlers.base import BaseHandler
from django.dispatch import dispatcher
from django.utils import datastructures
from django.utils.encoding import force_unicode
from django import http
from pprint import pformat
import os
# NOTE: do *not* import settings (or any module which eventually imports
# settings) until after ModPythonHandler has been called; otherwise os.environ

View File

@ -5,12 +5,12 @@ try:
except ImportError:
from StringIO import StringIO
from django.core.handlers.base import BaseHandler
from django import http
from django.core import signals
from django.core.handlers.base import BaseHandler
from django.dispatch import dispatcher
from django.utils import datastructures
from django.utils.encoding import force_unicode
from django import http
# See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
STATUS_CODE_TEXT = {