mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-13 22:40:16 +02:00
Include INSTALLED_APPS setting
Clean up section headers and add a few more.
This commit is contained in:
parent
63c2668171
commit
02247b067f
@ -10,12 +10,33 @@ STATIC_ROOT = "/var/www/{{ project_name }}/static/"
|
|||||||
TEMPLATES[0]['DIRS'] += [os.path.join(PROJECT_DIR, 'templates')]
|
TEMPLATES[0]['DIRS'] += [os.path.join(PROJECT_DIR, 'templates')]
|
||||||
SECRET_KEY = '{{ secret_key }}'
|
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 }}'
|
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
|
DEBUG = False
|
||||||
|
|
||||||
|
#######################################
|
||||||
|
# Additional Applications #
|
||||||
|
#######################################
|
||||||
|
# Add any additional apps to this list.
|
||||||
|
#######################################
|
||||||
|
INSTALLED_APPS += [
|
||||||
|
|
||||||
|
]
|
||||||
|
|
||||||
#######################################
|
#######################################
|
||||||
# Database Settings #
|
# Database Settings #
|
||||||
#######################################
|
#######################################
|
||||||
@ -27,38 +48,38 @@ DEBUG = False
|
|||||||
DATABASES['default'] = {
|
DATABASES['default'] = {
|
||||||
'ENGINE': 'django.db.backends.mysql',
|
'ENGINE': 'django.db.backends.mysql',
|
||||||
'NAME': 'alliance_auth',
|
'NAME': 'alliance_auth',
|
||||||
'USER': os.environ.get('AA_DB_DEFAULT_USER', ''),
|
'USER': '',
|
||||||
'PASSWORD': os.environ.get('AA_DB_DEFAULT_PASSWORD', ''),
|
'PASSWORD': '',
|
||||||
'HOST': os.environ.get('AA_DB_DEFAULT_HOST', '127.0.0.1'),
|
'HOST': '127.0.0.1',
|
||||||
'PORT': os.environ.get('AA_DB_DEFAULT_PORT', '3306'),
|
'PORT': '3306',
|
||||||
}
|
}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
######################################
|
#######################################
|
||||||
# SSO Settings #
|
# SSO Settings #
|
||||||
######################################
|
#######################################
|
||||||
# Register an application at
|
# Register an application at
|
||||||
# https://developers.eveonline.com
|
# https://developers.eveonline.com
|
||||||
# and fill out these settings.
|
# and fill out these settings.
|
||||||
# Be sure to set the callback URL to
|
# Be sure to set the callback URL to
|
||||||
# https://example.com/sso/callback
|
# https://example.com/sso/callback
|
||||||
# substituting your domain for example.com
|
# substituting your domain for example.com
|
||||||
######################################
|
#######################################
|
||||||
ESI_SSO_CLIENT_ID = ''
|
ESI_SSO_CLIENT_ID = ''
|
||||||
ESI_SSO_CLIENT_SECRET = ''
|
ESI_SSO_CLIENT_SECRET = ''
|
||||||
ESI_SSO_CALLBACK_URL = ''
|
ESI_SSO_CALLBACK_URL = ''
|
||||||
|
|
||||||
######################################
|
#######################################
|
||||||
# Email Settings #
|
# Email Settings #
|
||||||
######################################
|
#######################################
|
||||||
# Alliance Auth validates emails before
|
# Alliance Auth validates emails before
|
||||||
# new users can log in.
|
# new users can log in.
|
||||||
# It's recommended to use a free service
|
# It's recommended to use a free service
|
||||||
# like SparkPost or Mailgun to send email.
|
# like SparkPost or Mailgun to send email.
|
||||||
# https://www.sparkpost.com/docs/integrations/django/
|
# https://www.sparkpost.com/docs/integrations/django/
|
||||||
# Set the default from email to something like
|
# Set the default from email to something
|
||||||
# 'noreply@example.com'
|
# like 'noreply@example.com'
|
||||||
#################
|
#######################################
|
||||||
EMAIL_HOST = ''
|
EMAIL_HOST = ''
|
||||||
EMAIL_PORT = 587
|
EMAIL_PORT = 587
|
||||||
EMAIL_HOST_USER = ''
|
EMAIL_HOST_USER = ''
|
||||||
@ -66,6 +87,6 @@ EMAIL_HOST_PASSWORD = ''
|
|||||||
EMAIL_USE_TLS = True
|
EMAIL_USE_TLS = True
|
||||||
DEFAULT_FROM_EMAIL = ''
|
DEFAULT_FROM_EMAIL = ''
|
||||||
|
|
||||||
######################################
|
#######################################
|
||||||
# Add any custom settings below here #
|
# Add any custom settings below here. #
|
||||||
######################################
|
#######################################
|
||||||
|
Loading…
x
Reference in New Issue
Block a user