#26043: Add a hook to run queries between the start of a transaction and a view
-------------------------------+------------------------------------
Reporter: srkunze | Owner: nobody
Type: New feature | Status: new
Component: HTTP handling | Version: 1.8
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Comment (by timgraham):
If I understand correctly, the [https://github.com/django/django/pull/5591
new middleware proposal] would allow implementing a
`TransactionMiddleware` with the same functionality as `ATOMIC_REQUESTS`
with the benefit that you could also have other middleware to run queries
like requested here, so that would solve this ticket.
--
Ticket URL: <https://code.djangoproject.com/ticket/26043#comment:11>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.8922a0d21edbe29d4be0c8d228b66da1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.