From d87226479a53708d6fdb5d39a8e87b12b10e065e Mon Sep 17 00:00:00 2001 From: Joseph Banks Date: Sun, 6 Oct 2019 11:34:44 +0100 Subject: disable usage of pyuwsgi on windows due to incompatibility, library is only used in production anyway --- manage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'manage.py') diff --git a/manage.py b/manage.py index a1057a17..d2996488 100755 --- a/manage.py +++ b/manage.py @@ -7,7 +7,6 @@ import time from typing import List import django -import pyuwsgi from django.contrib.auth import get_user_model from django.core.management import call_command, execute_from_command_line @@ -143,6 +142,8 @@ class SiteManager: call_command("runserver", "0.0.0.0:8000") return + import pyuwsgi + # Run uwsgi for production server pyuwsgi.run(["--ini", "docker/uwsgi.ini"]) -- cgit v1.2.3