Source code for flask_unchained.bundles.controller.config

from flask_unchained import BundleConfig


[docs]class Config(BundleConfig): """ Default configuration options for the controller bundle. """ FLASH_MESSAGES = True """ Whether or not to enable flash messages. NOTE: This only works for messages flashed using the :meth:`flask_unchained.Controller.flash` method; using the :func:`flask.flash` function directly will not respect this setting. """ TEMPLATE_FILE_EXTENSION = '.html' """ The default file extension to use for templates. """ WTF_CSRF_ENABLED = False """ Whether or not to enable CSRF protection. """