define proper allauth production settings

This commit is contained in:
Jan Dittberner 2015-01-18 00:38:33 +01:00
parent 7f382988cf
commit 8fd75d5486
3 changed files with 9 additions and 0 deletions

View file

@ -1,6 +1,8 @@
Changelog Changelog
========= =========
* :bug:`-` define proper production settings
* :release:`0.5.1 <2015-01-18>` * :release:`0.5.1 <2015-01-18>`
* :bug:`-` load jquery and html5 with same URL schema as the rest of the site * :bug:`-` load jquery and html5 with same URL schema as the rest of the site

View file

@ -278,6 +278,8 @@ MESSAGE_TAGS = {
########## ALLAUTH CONFIGURATION ########## ALLAUTH CONFIGURATION
ACCOUNT_EMAIL_REQUIRED = True
ACCOUNT_EMAIL_VERIFICATION = 'mandatory'
LOGIN_REDIRECT_URL = '/' LOGIN_REDIRECT_URL = '/'
SOCIALACCOUNT_QUERY_EMAIL = True SOCIALACCOUNT_QUERY_EMAIL = True
########## END ALLAUTH CONFIGURATION ########## END ALLAUTH CONFIGURATION

View file

@ -26,3 +26,8 @@ SERVER_EMAIL = get_env_variable('GVA_SITE_ADMINMAIL')
# See: https://docs.djangoproject.com/en/dev/ref/settings/#caches # See: https://docs.djangoproject.com/en/dev/ref/settings/#caches
#CACHES = {} #CACHES = {}
########## END CACHE CONFIGURATION ########## END CACHE CONFIGURATION
########## ALLAUTH PRODUCTION CONFIGURATION
ACCOUNT_EMAIL_SUBJECT_PREFIX = '[Jan Dittberner IT-Consulting & -Solutions] '
ACCOUNT_DEFAULT_HTTP_PROTOCOL = 'https'
########## END ALLAUTH PRODUCTION CONFIGURATION