#25309: Docs: ATOMIC_REQUESTS is for **view** not http request
-------------------------------------+-------------------------------------
Reporter: guettli | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Documentation | Version: 1.8
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by timgraham):
* needs_docs: => 0
* has_patch: 0 => 1
* needs_better_patch: => 0
* needs_tests: => 0
* stage: Unreviewed => Ready for checkin
Comment:
Yes, that looks correct to me.
{{{#!diff
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index 7c569fe..331e117 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -478,8 +478,8 @@ ATOMIC_REQUESTS
Default: ``False``
-Set this to ``True`` to wrap each HTTP request in a transaction on this
-database. See :ref:`tying-transactions-to-http-requests`.
+Set this to ``True`` to wrap each view in a transaction on this database.
See
+:ref:`tying-transactions-to-http-requests`.
.. setting:: DATABASE-AUTOCOMMIT
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25309#comment:1>
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.d29c5fc0fcff093fec0660494f582027%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.