From 233690b09ffb89802cdd78d9fec586bc7bee6270 Mon Sep 17 00:00:00 2001 From: Jonathan LaCour Date: Sun, 6 Mar 2011 14:53:12 -0500 Subject: [PATCH] Documenting default configuration. --- docs/source/pecan_default_config.rst | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/docs/source/pecan_default_config.rst b/docs/source/pecan_default_config.rst index 29337fc..656bffa 100644 --- a/docs/source/pecan_default_config.rst +++ b/docs/source/pecan_default_config.rst @@ -8,4 +8,25 @@ for all Pecan applications. .. automodule:: pecan.default_config :members: - :show-inheritance: \ No newline at end of file + :show-inheritance: + +The default configuration is as follows:: + + # Server Specific Configurations + server = { + 'port' : '8080', + 'host' : '0.0.0.0' + } + + # Pecan Application Configurations + app = { + 'root' : None, + 'modules' : [], + 'static_root' : 'public', + 'template_path' : '', + 'debug' : False, + 'force_canonical' : True, + 'errors' : { + '__force_dict__' : True + } + } \ No newline at end of file