This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
nielsperetzke
/
healthchecks
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
32
Wiki
Activity
Browse Source
Django 3.4 local_settings
Set a relative path for the local_settings.py to work in Python 3.4
pull/8/head
Guillaume Moigneu
9 years ago
parent
a4afd70fef
commit
d475f6f45e
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
hc/settings.py
+ 1
- 1
hc/settings.py
View File
@ -126,6 +126,6 @@ COMPRESS_OFFLINE = True
EMAIL_BACKEND
=
"
djmail.backends.default.EmailBackend
"
try
:
from
local_settings
import
*
from
.
local_settings
import
*
except
ImportError
as
e
:
warnings
.
warn
(
"
local_settings.py not found, using defaults
"
)
Write
Preview
Loading…
Cancel
Save