forked from GithubBackups/healthchecks
Django 3.4 local_settings
Set a relative path for the local_settings.py to work in Python 3.4
This commit is contained in:
parent
a4afd70fef
commit
d475f6f45e
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user