Changes between Version 3 and Version 4 of Ticket #33745


Ignore:
Timestamp:
May 25, 2022, 6:27:44 PM (2 years ago)
Author:
abetkin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33745 – Description

    v3 v4  
    33I 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.
    44
    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.
     5If 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.
    66The same happens if a sync endpoint is dispatched to the asgi application. Again, I want that to be an error!
    77
Back to Top