We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc08f09 commit 57bb3d6Copy full SHA for 57bb3d6
django_webserver/management/commands/uvicorn.py
@@ -15,7 +15,7 @@ class Command(WebserverCommand):
15
help = "Start uvicorn server"
16
17
def prep_server_args(self, argv):
18
- return argv[2:] + [wsgi_app_name(), "--wsgi"]
+ return argv[2:] + [wsgi_app_name(), "--interface=wsgi"]
19
20
def start_server(self, *args):
21
uvicorn.main.main(args)
pyproject.toml
@@ -32,5 +32,5 @@ test = [
32
]
33
pyuwsgi = ["pyuwsgi"]
34
gunicorn = ["gunicorn"]
35
-uvicorn = ["uvicorn; python_version >= '3.5'"]
+uvicorn = ["uvicorn>0.6; python_version >= '3.5'"]
36
waitress = ["waitress"]
0 commit comments