feat: docs: local_settings.example.py
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
parent
0d6968ff0a
commit
b387e44f49
|
@ -18,6 +18,8 @@ env = environ.Env()
|
||||||
# See https://docs.djangoproject.com/en/4.0/howto/deployment/checklist/
|
# See https://docs.djangoproject.com/en/4.0/howto/deployment/checklist/
|
||||||
|
|
||||||
# SECURITY WARNING: keep the secret key used in production secret!
|
# SECURITY WARNING: keep the secret key used in production secret!
|
||||||
|
# A new SECRET_KEY can be generated by running the following command:
|
||||||
|
# openssl rand -hex 32
|
||||||
SECRET_KEY = "django-insecure-44zt@)$td7_yh(01q^hrce%h(311n!djn%%#s1b7$cvfy!pf7y"
|
SECRET_KEY = "django-insecure-44zt@)$td7_yh(01q^hrce%h(311n!djn%%#s1b7$cvfy!pf7y"
|
||||||
|
|
||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
|
@ -25,7 +27,6 @@ DEBUG = True
|
||||||
|
|
||||||
ALLOWED_HOSTS = []
|
ALLOWED_HOSTS = []
|
||||||
|
|
||||||
|
|
||||||
# Database
|
# Database
|
||||||
# https://docs.djangoproject.com/en/4.0/ref/settings/#databases
|
# https://docs.djangoproject.com/en/4.0/ref/settings/#databases
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,14 @@
|
||||||
# Installation instructions
|
# Installation instructions
|
||||||
|
|
||||||
|
## Configuration template
|
||||||
|
|
||||||
|
[dashboard/local_settings.example.py](../dashboard/local_settings.example.py)
|
||||||
|
contains a configuration template that may be used to create production
|
||||||
|
configuration file to override [dashboard/settings.py](../dashboard/settings.py).
|
||||||
|
|
||||||
|
Please copy local_settings.example.py to local_settings.py and make
|
||||||
|
changes to the newly copied file.
|
||||||
|
|
||||||
## Cron jobs
|
## Cron jobs
|
||||||
|
|
||||||
Run cron job at an interval of your choosing with the following comamnd:
|
Run cron job at an interval of your choosing with the following comamnd:
|
||||||
|
|
Loading…
Reference in New Issue