Fix the development environment name #102

Merged
gergely merged 1 commits from dev-env-name-fix into master 2018-07-23 09:55:46 +00:00
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ class CalendarSocialApp(Flask, RoutedMixin):
self._timezone = None
config_name = os.environ.get('ENV', config or 'dev')
config_name = os.environ.get('ENV', config or 'development')
self.config.from_pyfile(f'config_{config_name}.py', True)
# Make sure we look up users both by their usernames and email addresses
self.config['SECURITY_USER_IDENTITY_ATTRIBUTES'] = ('username', 'email')

View File

@ -1,7 +1,7 @@
"""Configuration file for the development environment
"""
ENV = 'dev'
ENV = 'development'
#: If ``True``, registration on the site is enabled.
REGISTRATION_ENABLED = True
#: The default time zone