Changes between Version 1 and Version 2 of Ticket #31515, comment 23


Ignore:
Timestamp:
Apr 27, 2020, 4:33:34 PM (5 years ago)
Author:
Braunson

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31515, comment 23

    v1 v2  
    22> Wait, how are you able to use async third party libraries in Django 3.0? While it has ASGI support, that's only to run in synchronous mode; if you're doing your own async stuff from Django views you want to be careful or you can cause issues like this.
    33
    4 Using the @async_to_sync decorators for some functions where awaits might be required (not async_to_sync directly on views)
     4Using the @async_to_sync decorators for some functions where awaits might be required (not async_to_sync directly on views). An example was included in the zip although I commented it out as it wasn't actually related to this database issue.
Back to Top