Browse Source

Fix: Fix django development settingns again

pull/169/head
winkidney 5 years ago
committed by Isaac Bythewood
parent
commit
1cbe91b1f4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      manage.py

+ 1
- 1
manage.py View File

@@ -3,7 +3,7 @@ import os
import sys

if __name__ == "__main__":
if "--settings" not in sys.argv:
if not any(arg.startswith("--settings") for arg in sys.argv):
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "pinry.settings.development")
from django.core.management import execute_from_command_line
if 'test' in sys.argv:


Loading…
Cancel
Save