Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
a2fb333d
Verified
Commit
a2fb333d
authored
Oct 03, 2018
by
Sébastiaan Versteeg
Browse files
Add Google Maps settings to production.py using environment
parent
66675cc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/thaliawebsite/settings/production.py
View file @
a2fb333d
...
...
@@ -80,6 +80,9 @@ PUSH_NOTIFICATIONS_API_KEY = os.environ.get('PUSH_NOTIFICATIONS_API_KEY', '')
MAILINGLIST_API_SECRET
=
os
.
environ
.
get
(
'MAILINGLIST_API_SECRET'
,
''
)
MEMBERS_SENTRY_API_SECRET
=
os
.
environ
.
get
(
'MEMBERS_SENTRY_API_SECRET'
,
''
)
GOOGLE_MAPS_API_KEY
=
os
.
environ
.
get
(
'GOOGLE_MAPS_API_KEY'
,
''
)
GOOGLE_MAPS_API_SECRET
=
os
.
environ
.
get
(
'GOOGLE_MAPS_API_SECRET'
,
''
)
if
os
.
environ
.
get
(
'DJANGO_SSLONLY'
):
SECURE_SSL_REDIRECT
=
True
SESSION_COOKIE_SECURE
=
True
...
...
Luko van der Maas
@lukomaas
mentioned in commit
76760d44
·
Oct 03, 2018
mentioned in commit
76760d44
mentioned in commit 76760d44205b19ea71c1c3e0c686a1d86d4abad2
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment