Browse Source

Remove the warning about a missing local_settings.py

pull/470/head
Pēteris Caune 4 years ago
parent
commit
601d8fac94
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      hc/settings.py

+ 0
- 3
hc/settings.py View File

@ -6,7 +6,6 @@ https://docs.djangoproject.com/en/2.1/ref/settings
"""
import os
import warnings
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
@ -235,5 +234,3 @@ SIGNAL_CLI_ENABLED = envbool("SIGNAL_CLI_ENABLED", "False")
if os.path.exists(os.path.join(BASE_DIR, "hc/local_settings.py")):
from .local_settings import *
else:
warnings.warn("local_settings.py not found, using defaults")

Loading…
Cancel
Save