Browse Source

Exemple de settings_local

test_david
chirac 10 years ago
parent
commit
38e23eb10a
  1. 20
      re2o/settings_local.example.py

20
re2o/settings_local.example.py

@ -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…
Cancel
Save