#33882: Allow transaction.atomic to work in async contexts. -------------------------------------+------------------------------------- Reporter: alex | Owner: | rajdesai24 Type: New feature | Status: assigned Component: Database layer | Version: 4.0 (models, ORM) | Severity: Normal | Resolution: Keywords: async | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by rajdesai24): I made a new class called Async Atomic and used it as a context decorator, which worked but you still need to use the sync_to_async -- Ticket URL: <https://code.djangoproject.com/ticket/33882#comment:12> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/010701866159d14f-9d51b721-6cd4-4c3b-81f3-8afe145cf7e4-000000%40eu-central-1.amazonses.com.