Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
birding
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Evili del Rio i Silvan
birding
Commits
5cb46f7c
Commit
5cb46f7c
authored
6 years ago
by
Evili del Rio i Silvan
Browse files
Options
Downloads
Patches
Plain Diff
Only change sslmode when defined
parent
f475c67b
No related branches found
No related tags found
1 merge request
!5
Heroku
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
birding/settings/__init__.py
+4
-1
4 additions, 1 deletion
birding/settings/__init__.py
with
4 additions
and
1 deletion
birding/settings/__init__.py
+
4
−
1
View file @
5cb46f7c
...
...
@@ -135,4 +135,7 @@ import django_heroku
django_heroku
.
settings
(
locals
())
# REMOVE SSL FOR TESTING
if
DEBUG
:
DATABASES
[
'
default
'
][
'
OPTIONS
'
][
'
sslmode
'
]
=
'
prefer
'
try
:
DATABASES
[
'
default
'
][
'
OPTIONS
'
][
'
sslmode
'
]
=
'
prefer
'
except
Error
:
pass
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment