expephalon-kumisms/expephalon/custom_settings.dist.py
Klaus-Uwe Mitterer a133ea4cb1 A lot of changes:
Prepare for Minio/S3 media storage
Add current FontAwesome
Move statics and templates out of core
Add navigation menu generation
Add name attribute to URLs
Probably many other things I forgot by now
2020-04-07 21:52:10 +02:00

37 lines
No EOL
1.2 KiB
Python

# Secret Key: Replace this by a long random string.
# You can use django.core.management.utils.get_random_secret_key to generate one.
SECRET_KEY = "changeme"
# Database settings
# This application is tested only with MariaDB/MySQL.
# You will have to edit settings.py if you want to use Postgres, SQLite, etc.
DB_HOST = "localhost"
DB_PORT = 3306
DB_USER = "expephalon"
DB_PASS = "secret"
DB_NAME = "expephalon"
# AWS/Minio configuration
# Insert any required parameters as per https://django-storages.readthedocs.io/en/latest/backends/amazon-S3.html
AWS_ACCESS_KEY_ID = None
AWS_SECRET_ACCESS_KEY = None
# Whether debug messages should be output - set to False in production (exposes sensitive data)
DEBUG = True
# Which hostnames may be used to access the system - by default accepts "localhost", add "*" to allow any hostname
ALLOWED_HOSTS = []
# To add frontend or backend templates, move them to the /templates subdirectory, then insert their name (i.e. the directory name) in the appropriate field. Move any required statics to the /static subdirectory.
EXPEPHALON_FRONTEND = "frontend"
EXPEPHALON_BACKEND = "backend"
# To add Expephalon modules, move them to the Expephalon root directory, then add them to this list
EXPEPHALON_MODULES = []