Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

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: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit a7f6faaa818d91aa9baaf1db99974cb1209c8ee6 1 parent 5da67a0
Russell Keith-Magee freakboy3742 authored
Showing with 7 additions and 2 deletions.
  1. +7 −2 docs/settings.txt
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.
Please sign in to comment.
Something went wrong with that request. Please try again.