summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPreston Holmes <preston@ptone.com>2012-11-16 16:50:50 -0800
committerPreston Holmes <preston@ptone.com>2012-11-16 17:07:38 -0800
commit44046e8a38225067d4d0feac35367eeae133446a (patch)
treed9b3fac853204f1bbd59e9809c8ca65ff481f7b4 /docs
parentb4a98e028adb5b32dcfa7384e46f57b28b43b684 (diff)
Fixed #18985 -- made DeprecationWarnings loud
Capture warnings in Python >= 2.7 and route through console handler, which is subject to DEBUG==True Thanks to dstufft for the idea, and claudep for initial patch
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.5.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/releases/1.5.txt b/docs/releases/1.5.txt
index 8b7af2cf36..c53518feaa 100644
--- a/docs/releases/1.5.txt
+++ b/docs/releases/1.5.txt
@@ -306,6 +306,13 @@ Django 1.5 also includes several smaller improvements worth noting:
:attr:`~django.db.models.Options.index_together` documentation for more
information.
+* During Django's logging configuration verbose Deprecation warnings are
+ enabled and warnings are captured into the logging system. Logged warnings
+ are routed through the ``console`` logging handler, which by default requires
+ :setting:`DEBUG` to be True for output to be generated. The result is that
+ DeprecationWarnings should be printed to the console in development
+ environments the way they have been in Python versions < 2.7.
+
Backwards incompatible changes in 1.5
=====================================