Changes between Version 1 and Version 2 of Ticket #31515, comment 23
- Timestamp:
- Apr 27, 2020, 4:33:34 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31515, comment 23
v1 v2 2 2 > 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. 3 3 4 Using the @async_to_sync decorators for some functions where awaits might be required (not async_to_sync directly on views) 4 Using 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.