Changes between Version 2 and Version 3 of Ticket #33745
- Timestamp:
- May 25, 2022, 6:27:26 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33745 – Description
v2 v3 3 3 I have 1 asgi and 1 wsgi application, namely for my sync and async endpoints. All my code runs natively, there is no need to adapt my code with sync_to_async-like stuff. 4 4 5 If an async endpoint somehow (by mistake) gets routed to the wsgi application, it is AN ERROR for me. However, django will silently adapt it and run in a separate thread.5 If an async endpoint somehow (by mistake) gets routed to the wsgi application, it is AN ERROR for me. Because it should have been routed to the asgi app/ However, django will silently adapt it and run in a separate thread. 6 6 The same happens if a sync endpoint is dispatched to the asgi application. Again, I want that to be an error! 7 7