piki/config_example/config.py

38 lines
1.1 KiB
Python
Raw Normal View History

2024-10-08 22:46:18 +02:00
#######################################################################
# Configuration of your django application
#######################################################################
2024-10-06 18:18:11 +02:00
#
# Piki Setting
#
STARTPAGE = "startpage"
2024-10-08 22:46:18 +02:00
#
# Users library
#
# This enables or disables the self registration
USERS_SELF_REGISTRATION = False
2024-10-06 18:18:11 +02:00
#
2024-10-08 22:46:18 +02:00
# Themes library
2024-10-06 18:18:11 +02:00
#
2024-10-08 22:46:18 +02:00
# This defines the default theme, if no theme is set in the django parameters
DEFAULT_THEME = 'clear-blue'
2024-10-06 18:18:11 +02:00
2024-10-08 22:46:18 +02:00
#
# Django
#
# This defines the mode of the running server
2024-10-06 18:18:11 +02:00
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
2024-10-08 22:46:18 +02:00
# This a the secret key for your application.
# SECURITY WARNING: don't run with a dummy secret in production! And don't let others read this key!
2024-10-06 18:18:11 +02:00
SECRET_KEY = None
2024-10-08 22:46:18 +02:00
# This defines the listener hostnames for your django server
2024-10-06 18:18:11 +02:00
# SECURITY WARNING: don't run with '0.0.0.0' in in production, unless you know what you are doing!
2024-10-08 22:46:18 +02:00
# ALLOWED_HOSTS = ['<YOUR_SERVER_HOSTNAME>', ]
2024-10-06 18:18:11 +02:00
2024-10-08 22:46:18 +02:00
# This might be needed for usage in a docker environment
# CSRF_TRUSTED_ORIGINS = ['<YOUR_SERVER_URL>', ]