Semantic UI version

This commit is contained in:
2018-07-13 10:19:37 +02:00
parent b82cacc665
commit b54674c703
18 changed files with 594 additions and 143 deletions

View File

@@ -85,6 +85,7 @@ class CalendarSocialApp(Flask):
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')
self.config['SECURITY_LOGIN_USER_TEMPLATE'] = 'login.html'
db.init_app(self)
babel = Babel(app=self)
babel.localeselector(get_locale)