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