Jan Dittberner
fb1f31a9bc
This commit fixes all warnings created by flake8 by removing unused imports and variable assignments. Some wrongly indented lines are now indented correctly.
38 lines
1.3 KiB
Python
38 lines
1.3 KiB
Python
# -*- python -*-
|
|
# pymode:lint_ignore=W0401,E501
|
|
"""Production settings and globals."""
|
|
|
|
from __future__ import absolute_import
|
|
|
|
# use import * to import all settings from base
|
|
from .base import * # NOQA
|
|
|
|
# ######### HOST CONFIGURATION
|
|
# See: https://docs.djangoproject.com/en/1.5/releases/1.5/#allowed-hosts-required-in-production # noqa
|
|
ALLOWED_HOSTS = [SITES_DOMAIN_NAME]
|
|
# ######### END HOST CONFIGURATION
|
|
|
|
# ######### EMAIL CONFIGURATION
|
|
# See: https://docs.djangoproject.com/en/dev/ref/settings/#email-backend
|
|
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
|
|
|
|
# See: https://docs.djangoproject.com/en/dev/ref/settings/#email-subject-prefix
|
|
EMAIL_SUBJECT_PREFIX = '[%s] ' % SITE_NAME
|
|
|
|
# See: https://docs.djangoproject.com/en/dev/ref/settings/#default-from-email
|
|
DEFAULT_FROM_EMAIL = get_env_variable('GVA_SITE_ADMINMAIL')
|
|
|
|
# See: https://docs.djangoproject.com/en/dev/ref/settings/#server-email
|
|
SERVER_EMAIL = get_env_variable('GVA_SITE_ADMINMAIL')
|
|
# ######### END EMAIL CONFIGURATION
|
|
|
|
# ######### CACHE CONFIGURATION
|
|
# See: https://docs.djangoproject.com/en/dev/ref/settings/#caches
|
|
# CACHES = {}
|
|
# ######### END CACHE CONFIGURATION
|
|
|
|
# ######### ALLAUTH PRODUCTION CONFIGURATION
|
|
ACCOUNT_EMAIL_SUBJECT_PREFIX = '[Jan Dittberner IT-Consulting & -Solutions] '
|
|
ACCOUNT_DEFAULT_HTTP_PROTOCOL = 'https'
|
|
# ######### END ALLAUTH PRODUCTION CONFIGURATION
|