Available Settings

SSL_ENABLED

New in version 0.2.

SSL_ENABLED is used to configure the SSLRedirectMiddleware, SSLUserMiddleware and secure decorator. This allows you to disable the SSL redirects in your development evironment or while testing. SSL_ENABLED defaults to False.

SSL_PATTERNS

New in version 0.2.

SSL_PATTERNS is by SSLRedirectMiddleware. It defines a set of regular expressions for urls which should be accessed only over SSL. Use can still use SSLRedirectMiddleware without this setting. In that case you would need to use the SSL keyword argument in your url definitions. See SSLRedirectMiddleware for more detail.

COVERAGE_MODULES

COVERAGE_MODULES is used by the CoverageRunner and defines a list of submodules which should be included the coverage report. If the submodule does not exist for a given app it will be skipped.

COVERAGE_MODULES = (
    'decorators',
    'http',
    'forms',
    'models',
    'views',
)

If you are not using CoverageRunner then you do not need to define this setting.

Project Versions

Table Of Contents

Previous topic

Test

Next topic

Change Log

This Page