summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2010-10-06 15:02:26 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2010-10-06 15:02:26 +0000
commitfea159282b75130b5f6cf52ec92ddfa09467f3c9 (patch)
tree4ae1ede0ad6b7deeb8424eedc26a6919c5b9d6f7 /docs
parent57aeb542792317df13c54eab7ceac73ceeb2847d (diff)
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
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/logging.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/topics/logging.txt b/docs/topics/logging.txt
index 3d4dffe3e0..149bd0ae7a 100644
--- a/docs/topics/logging.txt
+++ b/docs/topics/logging.txt
@@ -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
--------