Changes between Version 1 and Version 2 of Ticket #33745
- Timestamp:
- May 25, 2022, 6:26:02 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33745 – Description
v1 v2 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 is routed to the wsgi application, it is AN ERROR for me. That means that I've made a mistake in the config of my server. 6 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. However, django will silently adapt it and run in a separate thread. 7 6 The same happens if a sync endpoint is dispatched to the asgi application. Again, I want that to be an error! 8 7