aboutsummaryrefslogtreecommitdiffstats
path: root/manage.py
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2019-10-06 21:48:54 +0100
committerGravatar Gareth Coles <[email protected]>2019-10-06 21:48:54 +0100
commit18f4c2912e86461a68125b3aaebeed7b10acc3f6 (patch)
treeeec9f9098ed25ac5019dfc231922eabd096934d8 /manage.py
parentRemove GH login implementation, out of scope of this PR (diff)
parentdisable usage of pyuwsgi on windows due to incompatibility, library is only u... (diff)
Merge branch 'master' into #201-django-allauth
# Conflicts: # Pipfile # Pipfile.lock
Diffstat (limited to 'manage.py')
-rwxr-xr-xmanage.py3
1 files changed, 2 insertions, 1 deletions
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"])