Make development-specific settings file

This commit is contained in:
Danielle McLean 2017-10-23 08:55:07 +11:00
parent a99ff49cef
commit fc848546dc
Signed by untrusted user: 00dani
GPG key ID: 5A5D2D1AFF12EEC5
4 changed files with 4 additions and 1 deletions

View file

View file

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

View file

@ -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: