[Bugfix] Fix the environment name for dev mode

It turns out Flask only considers `development` as the development mode; `dev` (used before) is
not working.
This commit is contained in:
2018-07-23 11:09:29 +02:00
parent 9b27491652
commit 387b7d83ac
2 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
"""Configuration file for the development environment
"""
ENV = 'development'
#: If ``True``, registration on the site is enabled.
REGISTRATION_ENABLED = True
#: The default time zone
DEFAULT_TIMEZONE = 'Europe/Budapest'
DEBUG = True
SQLALCHEMY_DATABASE_URI = 'sqlite:///local.db'
SQLALCHEMY_TRACK_MODIFICATIONS = False
SECRET_KEY = 'ThisIsNotSoSecret'
SECURITY_PASSWORD_HASH = 'bcrypt'
SECURITY_PASSWORD_SALT = SECRET_KEY
SECURITY_REGISTERABLE = False
CACHE_TYPE = 'simple'