From 2b65bbb451d5b7cd87ff198cf88374dab28fd17b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 5 Sep 2011 16:03:01 -0400 Subject: add explanation of why to use production.ini --- docs/narr/project.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs') diff --git a/docs/narr/project.rst b/docs/narr/project.rst index 102078353..10b7a5d04 100644 --- a/docs/narr/project.rst +++ b/docs/narr/project.rst @@ -566,6 +566,13 @@ are not automatically reloaded when changed, and turns off all debugging options. This file is appropriate to use instead of ``development.ini`` when you put your application into production. +It's important to use ``production.ini`` (and *not* ``development.ini``) to +benchmark your application and put it into production. ``development.ini`` +configures your system with a debug toolbar that helps development, but the +inclusion of this toolbar slows down page rendering times by over an order of +magnitude. The debug toolbar is also a potential security risk if you have +it configured incorrectly. + .. index:: single: MANIFEST.in -- cgit v1.2.3