Django asgi TypeError: __call__() missing 1 required positional argument: 'start_response' #1495
-
Hey guys,
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Here are the solutions you can try: [Socket] [Install] $sudo nano /etc/systemd/system/gunicorn.service [Unit] [Service]
from .wsgi import * # add this line to top of your code application = ProtocolTypeRouter({ |
Beta Was this translation helpful? Give feedback.
-
so no explanation i've done this a hundred times and never seen this error WTF IS THIS COMING FROM ? |
Beta Was this translation helpful? Give feedback.
-
are you kidding me, after 2 years not answered |
Beta Was this translation helpful? Give feedback.
-
This is how volunteer work is rewarded: The issue is mentioned here: #483 (comment) You should point it to the ASGI application. I'm not familiar with Django, but I think nowadays they offer both files. Locking this discussion since people are rude. |
Beta Was this translation helpful? Give feedback.
This is how volunteer work is rewarded:
The issue is mentioned here: #483 (comment)
You should point it to the ASGI application. I'm not familiar with Django, but I think nowadays they offer both files.
Locking this discussion since people are rude.