2018-02-20 12:35:11 -05:00

94 lines
2.8 KiB
Python

from .base import *
# These are required for Django to function properly
ROOT_URLCONF = '{{ project_name }}.urls'
WSGI_APPLICATION = '{{ project_name }}.wsgi.application'
STATICFILES_DIRS = [
os.path.join(PROJECT_DIR, 'static'),
]
STATIC_ROOT = "/var/www/{{ project_name }}/static/"
TEMPLATES[0]['DIRS'] += [os.path.join(PROJECT_DIR, 'templates')]
SECRET_KEY = '{{ secret_key }}'
#######################################
# Site Name #
#######################################
# Change this to change the name of the
# auth site displayed in page titles
# and the site header.
#######################################
SITE_NAME = '{{ project_name }}'
#######################################
# 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 #
#######################################
# Uncomment and change the database name
# and credentials to use MySQL/MariaDB.
# Leave commented to use sqlite3
#######################################
"""
DATABASES['default'] = {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'alliance_auth',
'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
# Select all available esi- scopes.
#######################################
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'
#######################################
EMAIL_HOST = ''
EMAIL_PORT = 587
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
EMAIL_USE_TLS = True
DEFAULT_FROM_EMAIL = ''
#######################################
# Add any custom settings below here. #
#######################################