diff options
author | 2019-10-06 11:34:44 +0100 | |
---|---|---|
committer | 2019-10-06 11:34:44 +0100 | |
commit | d87226479a53708d6fdb5d39a8e87b12b10e065e (patch) | |
tree | 2a189af7bc5445371253a91a317a8f698aad821d /manage.py | |
parent | Merge pull request #275 from python-discord/flake8-exclude-fix (diff) |
disable usage of pyuwsgi on windows due to incompatibility, library is only used in production anyway
Diffstat (limited to 'manage.py')
-rwxr-xr-x | manage.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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"]) |