Django

Code

Changeset 7702

Show
Ignore:
Timestamp:
06/19/08 07:13:43 (5 months ago)
Author:
russellm
Message:

Fixed #7059 -- Added a note to the settings documentation reminding users that when DEBUG=True, Django keeps a log of queries. Thanks for the suggestion, simonb.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/settings.txt

    r7676 r7702  
    389389Still, note that there are always going to be sections of your debug output that 
    390390are inappropriate for public consumption. File paths, configuration options, and 
    391 the like all give attackers extra information about your server. Never deploy a 
    392 site with ``DEBUG`` turned on. 
     391the like all give attackers extra information about your server.  
     392 
     393It is also important to remember that when running with ``DEBUG`` turned on, Django 
     394will remember every SQL query it executes. This is useful when you are debugging, 
     395but on a production server, it will rapidly consume memory. 
     396 
     397Never deploy a site into production with ``DEBUG`` turned on. 
    393398 
    394399DEBUG_PROPAGATE_EXCEPTIONS