diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-03-23 03:42:59 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-03-25 23:26:50 +0100 |
commit | d3948290aadf6050d4ad89b4fb1be99c7451f0c8 (patch) | |
tree | 9a1da249d6a3e0fed69ffb56779ce9bce45f6175 /modules/role/templates/caldance | |
parent | a25b5f82989b0e1c4abbfe0feca7f836a608c7e6 (diff) | |
download | Puppet-d3948290aadf6050d4ad89b4fb1be99c7451f0c8.tar.gz Puppet-d3948290aadf6050d4ad89b4fb1be99c7451f0c8.tar.zst Puppet-d3948290aadf6050d4ad89b4fb1be99c7451f0c8.zip |
Move app to caldance
Diffstat (limited to 'modules/role/templates/caldance')
-rw-r--r-- | modules/role/templates/caldance/local_settings.py.erb | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/modules/role/templates/caldance/local_settings.py.erb b/modules/role/templates/caldance/local_settings.py.erb deleted file mode 100644 index 4da53f6..0000000 --- a/modules/role/templates/caldance/local_settings.py.erb +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | import os | ||
2 | DATABASES = { | ||
3 | 'default': { | ||
4 | 'ENGINE': 'django.contrib.gis.db.backends.postgis', | ||
5 | 'NAME': '<%= @pg_db %>', | ||
6 | 'USER': '<%= @pg_user %>', | ||
7 | 'PASSWORD': u'<%= @pg_password %>', | ||
8 | 'HOST': '<%= @pg_hostname %>', | ||
9 | 'PORT': '<%= @pg_port %>', | ||
10 | } | ||
11 | } | ||
12 | |||
13 | # SECURITY WARNING: keep the secret key used in production secret! | ||
14 | SECRET_KEY = os.environ.get('SECRET_KEY', '<%= @secret_key %>') | ||
15 | DEBUG = False | ||
16 | SECURE_HSTS_PRELOAD = True # moved from local settings as local runserver don't do SSL | ||
17 | SECURE_HSTS_SECONDS = 1 | ||
18 | SECURE_SSL_REDIRECT = True | ||
19 | LOG_FILE = '<%= @home %>/caldev_django.log' | ||
20 | |||
21 | DEFAULT_FROM_EMAIL = '<%= @mail_from %>' | ||
22 | EMAIL_USE_SSL = True | ||
23 | EMAIL_HOST = "<%= @smtp_host %>" | ||
24 | EMAIL_PORT = <%= @smtp_port %> | ||
25 | |||