Skip to content

Commit

Permalink
remove redundant import of local_settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmednoureldeen committed Jun 23, 2020
1 parent bcb02b8 commit c8ba47a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cartoview/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@
# fallback to regular list of values separated with misc chars
ALLOWED_HOSTS = ['*'] if os.getenv('ALLOWED_HOSTS') is None \
else re.split(r' *[,|:|;] *', os.getenv('ALLOWED_HOSTS'))
try:
from .local_settings import *
except Exception as e:
pass

CARTOVIEW_TEST = 'test' in sys.argv or ast.literal_eval(
os.getenv('CARTOVIEW_TEST', "False")) or 'run_cartoview_test' in sys.argv
Expand Down

0 comments on commit c8ba47a

Please sign in to comment.