Browse Source

Exemple de settings_local

rewrite_authors
Gabriel Detraz 10 years ago
parent
commit
bcebffb144
  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