Make development-specific settings file

pull/1/head
Danielle McLean 5 years ago
parent a99ff49cef
commit fc848546dc
Signed by: 00dani
GPG Key ID: 5A5D2D1AFF12EEC5
  1. 0
      lemoncurry/settings/__init__.py
  2. 0
      lemoncurry/settings/base.py
  3. 3
      lemoncurry/settings/dev.py
  4. 2
      manage.py

@ -0,0 +1,3 @@
from .base import *
ALLOWED_HOSTS = ['*']

@ -3,7 +3,7 @@ import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "lemoncurry.settings")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "lemoncurry.settings.dev")
try:
from django.core.management import execute_from_command_line
except ImportError:

Loading…
Cancel
Save