mirror of
https://github.com/django/django.git
synced 2025-10-27 07:36:08 +00:00
Fixed #14406 -- Added a Python 2.4 compatibility to the logging interface. Thanks to Łukasz Rekucki for the report, and to Luke Plant for original patch this was based on.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13989 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import logging
|
||||
from pprint import pformat
|
||||
import sys
|
||||
from threading import Lock
|
||||
@@ -13,8 +12,9 @@ from django.core.handlers import base
|
||||
from django.core.urlresolvers import set_script_prefix
|
||||
from django.utils import datastructures
|
||||
from django.utils.encoding import force_unicode, iri_to_uri
|
||||
from django.utils.log import getLogger
|
||||
|
||||
logger = logging.getLogger('django.request')
|
||||
logger = getLogger('django.request')
|
||||
|
||||
|
||||
# See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
|
||||
|
||||
Reference in New Issue
Block a user