Closed captain828 closed 1 month ago
It looks like you're experiencing the same thing as this report in another of my packages: https://github.com/adamchainz/django-htmx/issues/381 . Would you be able to check out that issue and related PR and maybe test them? Then you or I could make an identical PR here.
I'll have a look but I can't promise I'll have time to do it this week.
This is likely affecting all ASGI servers, I'm having the same issue with uvicorn.
This causes an incompatibility with asgiref < 3.6.0 as iscoroutinefunction
was only added in this commit:
https://github.com/django/asgiref/commit/36f37c9ee5bf2d1f240db23643734f1225a0b5fd
Maybe update the dependencies to require at least 3.6.0?
What tooling did you use to install an incompatible asgiref with? Can you provide a reproduction?
I think this was fixed already back in #911. If you're still having issues with Channels please open a new issue @JPaulMora .
Understanding CORS
Python Version
3.12
Django Version
5.0b1
Package Version
4.3.0
Description
Getting errors on Django 5 + Daphne ASGI:
settings.py
asgi.py - default from Django
runserver command
I tried removing as many variables as I could but the error only goes away when I remove the CORS middleware.