app_server.configuration.dev_config module¶
- Module
development_config.py
- Copyright
Copyright (C) 2017 - 2024 Vladimir Roncevic <elektron.ronca@gmail.com> config_flask is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. config_flask is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
- Info
Defines class DevConfig with attribute(s) and method(s). Development configuration.
- class app_server.configuration.dev_config.DevConfig[source]¶
Bases:
BaseConfig
Defines class DevConfig with attribute(s) and method(s). Development configuration.
It defines:
- attributes:
- DEBUG - Enable/Disable debug option.WTF_CSRF_ENABLED - Secure forms.DEBUG_TB_ENABLED - Flask debug toolbar’s.DEBUG_TB_INTERCEPT_REDIRECTS - Should intercept redirects.BCRYPT_LOG_ROUNDS - For bcrypt hashing utilities.
- methods:
- None
- BCRYPT_LOG_ROUNDS: int = 4¶
- DEBUG: bool = True¶
- DEBUG_TB_ENABLED: bool = True¶
- DEBUG_TB_INTERCEPT_REDIRECTS: bool = False¶
- WTF_CSRF_ENABLED: bool = False¶