From 38e23eb10af907f500f6c65ae555872b30fbbdb4 Mon Sep 17 00:00:00 2001 From: chirac Date: Wed, 6 Jul 2016 12:29:49 +0200 Subject: [PATCH] Exemple de settings_local --- re2o/settings_local.example.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 re2o/settings_local.example.py diff --git a/re2o/settings_local.example.py b/re2o/settings_local.example.py new file mode 100644 index 00000000..3da70fb2 --- /dev/null +++ b/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']