I was trying to use channels in Django, To do that I followed a tutorial and made these changes in the asgi.py file
from channels.routing import ProtocolTypeRouter
application = ProtocolTypeRouter(
{
"http":get_asgi_application()
})
and these in the settings.py file
ASGI_APPLICATION = 'lostAndFound.wsgi.application'
after that, i restarted the server and got an internal server error, and the error in the terminal
`Exception inside application: WSGIHandler.__call__() takes 3 positional arguments but 4 were given
Traceback (most recent call last): File "/home/alaa/.local/lib/python3.10/site-packages/channels/staticfiles.py", line 44, in call return await self.application(scope, receive, send) TypeError: WSGIHandler.call() takes 3 positional arguments but 4 were given`
can anyone plese help me with this