mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-26 08:53:46 +00:00
Exemple de settings_local
This commit is contained in:
parent
df252c3060
commit
bcebffb144
1 changed files with 20 additions and 0 deletions
20
re2o/settings_local.example.py
Normal file
20
re2o/settings_local.example.py
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
SECRET_KEY = 'SUPER_SECRET'
|
||||||
|
|
||||||
|
DB_PASSWORD = 'SUPER_SECRET'
|
||||||
|
|
||||||
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
|
DEBUG = False
|
||||||
|
|
||||||
|
ALLOWED_HOSTS = []
|
||||||
|
|
||||||
|
DATABASES = {
|
||||||
|
'default': {
|
||||||
|
'ENGINE': 'django.db.backends.mysql',
|
||||||
|
'NAME': 're2o',
|
||||||
|
'USER': 're2o',
|
||||||
|
'PASSWORD': DB_PASSWORD,
|
||||||
|
'HOST': 'localhost',
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ALLOWED_EXTENSIONS = ['.example']
|
Loading…
Reference in a new issue