Browse Source

Merge pull request #8 from gmoigneu/patch-2

Set a relative path for the local_settings.py to work in Python 3.4
pull/9/head
Pēteris Caune 9 years ago
parent
commit
4cc0d5453a
1 changed files with 1 additions and 1 deletions
  1. +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" EMAIL_BACKEND = "djmail.backends.default.EmailBackend"
try: try:
from local_settings import *
from .local_settings import *
except ImportError as e: except ImportError as e:
warnings.warn("local_settings.py not found, using defaults") warnings.warn("local_settings.py not found, using defaults")

Loading…
Cancel
Save