mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +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:
@@ -411,6 +411,10 @@ Messages to this logger have the following extra context:
|
||||
* ``request``: The request object that generated the logging
|
||||
message.
|
||||
|
||||
.. note::
|
||||
Due to a limitation in the logging library, this extra
|
||||
context is not available if you are using Python 2.4.
|
||||
|
||||
``django.db.backends``
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
@@ -424,6 +428,10 @@ Messages to this logger have the following extra context:
|
||||
* ``sql``: The SQL statement that was executed.
|
||||
* ``params``: The parameters that were used in the SQL call.
|
||||
|
||||
.. note::
|
||||
Due to a limitation in the logging library, this extra
|
||||
context is not available if you are using Python 2.4.
|
||||
|
||||
Handlers
|
||||
--------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user