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...
1 parent 5da67a0 commit a7f6faaa818d91aa9baaf1db99974cb1209c8ee6 @freakboy3742 freakboy3742 committed Jun 19, 2008
Showing with 7 additions and 2 deletions.
  1. +7 −2 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.

0 comments on commit a7f6faa

Please sign in to comment.