Browse Source

Make development-specific settings file

tags/v1.0.0
Danielle McLean 2 years ago
parent
commit
fc848546dc
Signed by: Danielle McLean <dani@00dani.me> GPG Key ID: 5A5D2D1AFF12EEC5
4 changed files with 4 additions and 1 deletions
  1. +0
    -0
      lemoncurry/settings/__init__.py
  2. +0
    -0
      lemoncurry/settings/base.py
  3. +3
    -0
      lemoncurry/settings/dev.py
  4. +1
    -1
      manage.py

+ 0
- 0
lemoncurry/settings/__init__.py View File


lemoncurry/settings.py → lemoncurry/settings/base.py View File


+ 3
- 0
lemoncurry/settings/dev.py View File

@@ -0,0 +1,3 @@
from .base import *

ALLOWED_HOSTS = ['*']

+ 1
- 1
manage.py 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:

Loading…
Cancel
Save