#31423: Transactions documentation error
-------------------------------------+-------------------------------------
Reporter: AxeOfMen | Owner: nobody
Type: Bug | Status: new
Component: | Version: 3.0
Documentation | Keywords: documentation
Severity: Normal | transaction atomic
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
There is an example on the transactions documentation page of using the
atomic context manager in a try/except block. The example uses ''both''
the atomic context manager and decorator. Is this intentional? If so, text
describing the intent and purpose of using both would be appropriate. My
guess is that it is unintentional and that the decorator should be
removed.
https://github.com/django/django/blob/master/docs/topics/db/transactions.txt#L134
--
Ticket URL: <https://code.djangoproject.com/ticket/31423>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/051.2b8071ee78050eb3651eb5a39462a9e0%40djangoproject.com.