Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #7059 -- Added a note to the settings documentation reminding u…

…sers that when DEBUG=True, Django keeps a log of queries. Thanks for the suggestion, simonb.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7702 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit a7f6faaa818d91aa9baaf1db99974cb1209c8ee6 1 parent 5da67a0
@freakboy3742 freakboy3742 authored
Showing with 7 additions and 2 deletions.
  1. +7 −2 docs/settings.txt
View
9 docs/settings.txt
@@ -388,8 +388,13 @@ be able to give backtraces without seeing sensitive (or offensive) settings.
Still, note that there are always going to be sections of your debug output that
are inappropriate for public consumption. File paths, configuration options, and
-the like all give attackers extra information about your server. Never deploy a
-site with ``DEBUG`` turned on.
+the like all give attackers extra information about your server.
+
+It is also important to remember that when running with ``DEBUG`` turned on, Django
+will remember every SQL query it executes. This is useful when you are debugging,
+but on a production server, it will rapidly consume memory.
+
+Never deploy a site into production with ``DEBUG`` turned on.
DEBUG_PROPAGATE_EXCEPTIONS
--------------------------
Please sign in to comment.
Something went wrong with that request. Please try again.