Include INSTALLED_APPS setting

Clean up section headers and add a few more.
This commit is contained in:
Adarnof 2018-01-08 10:50:24 -05:00 committed by GitHub
parent 63c2668171
commit 02247b067f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,12 +10,33 @@ STATIC_ROOT = "/var/www/{{ project_name }}/static/"
TEMPLATES[0]['DIRS'] += [os.path.join(PROJECT_DIR, 'templates')]
SECRET_KEY = '{{ secret_key }}'
# Change this to change the name of the auth site
#######################################
# Site Name #
#######################################
# Change this to change the name of the
# auth site displayed in page titles
# and the site header.
#######################################
SITE_NAME = '{{ project_name }}'
# Change this to enable/disable debug mode
#######################################
# Debug Mode #
#######################################
# Change this to enable/disable debug
# mode, which displays useful error
# messages but can leak sensitive data.
#######################################
DEBUG = False
#######################################
# Additional Applications #
#######################################
# Add any additional apps to this list.
#######################################
INSTALLED_APPS += [
]
#######################################
# Database Settings #
#######################################
@ -27,38 +48,38 @@ DEBUG = False
DATABASES['default'] = {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'alliance_auth',
'USER': os.environ.get('AA_DB_DEFAULT_USER', ''),
'PASSWORD': os.environ.get('AA_DB_DEFAULT_PASSWORD', ''),
'HOST': os.environ.get('AA_DB_DEFAULT_HOST', '127.0.0.1'),
'PORT': os.environ.get('AA_DB_DEFAULT_PORT', '3306'),
'USER': '',
'PASSWORD': '',
'HOST': '127.0.0.1',
'PORT': '3306',
}
"""
######################################
#######################################
# SSO Settings #
######################################
#######################################
# Register an application at
# https://developers.eveonline.com
# and fill out these settings.
# Be sure to set the callback URL to
# https://example.com/sso/callback
# substituting your domain for example.com
######################################
#######################################
ESI_SSO_CLIENT_ID = ''
ESI_SSO_CLIENT_SECRET = ''
ESI_SSO_CALLBACK_URL = ''
######################################
#######################################
# Email Settings #
######################################
#######################################
# Alliance Auth validates emails before
# new users can log in.
# It's recommended to use a free service
# like SparkPost or Mailgun to send email.
# https://www.sparkpost.com/docs/integrations/django/
# Set the default from email to something like
# 'noreply@example.com'
#################
# Set the default from email to something
# like 'noreply@example.com'
#######################################
EMAIL_HOST = ''
EMAIL_PORT = 587
EMAIL_HOST_USER = ''
@ -66,6 +87,6 @@ EMAIL_HOST_PASSWORD = ''
EMAIL_USE_TLS = True
DEFAULT_FROM_EMAIL = ''
######################################
# Add any custom settings below here #
######################################
#######################################
# Add any custom settings below here. #
#######################################