close Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Version 2 (modified by cmlenz, 16 years ago) (diff)

--

Configuration Options

Various configuration options can be set to influence how various subsystems in the framework go about their work. Setting these options is done by passing them into the Application constructor as keyword arguments, or by setting the values in the app.config dictionary.

General

debug
Whether debugging and developer-oriented error pages should be enabled

Email

email_to
The default recipient of sent emails
from_address
The default email address to use in the From header of outgoing mail
smtp_server
The host name of the SMTP server to use for outgoing mail
smtp_username
The username to use for authentication against the SMTP server
smtp_password
The password to use for authentication against the SMTP server

Internationalization

locale
The default locale to use
timezone
The timezone to use for date/time display

Templating

doctype
The default DOCTYPE to use for rendered HTML pages

Security

csrf_protection
Whether forms should automatically be protected against Cross-Site Request Forgery (CSRF) attacks