Changes between Version 2 and Version 3 of Ticket #33882, comment 18
- Timestamp:
- Sep 3, 2024, 4:07:23 PM (2 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33882, comment 18
v2 v3 1 I am hesitant going for async django until transaction support is added or a cleaner solution than having to use **sync_to_async** is available. The problem with this workaround is that it forces you to write all code inside the transaction sync. Which is going to be a mess when transaction and non-transaction scopes want to use the same code/logic.1 I am hesitant going for async django until transaction support is added or a cleaner solution than having to use **sync_to_async** is available. The problem with this workaround is that it forces you to write all code inside the transaction as sync. Which is going to be a mess when transaction and non-transaction scopes want to use the same code/logic. 2 2 3 Imagine the following simple example that illustrate the mess one will get in. 3 The following example illustrate the problem 4 4 5 5 {{{