Opened 20 years ago
Closed 20 years ago
#1439 closed defect (fixed)
Error in transaction docs
| Reported by: | anonymous | Owned by: | Jacob |
|---|---|---|---|
| Component: | Documentation | Version: | magic-removal |
| Severity: | trivial | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
in the transaction docs shouldn't the following
84 @commit_on_success
85 def viewfunc(request):
86 ....
be
84 @transaction.commit_on_success
85 def viewfunc(request):
86 ....
Note:
See TracTickets
for help on using tickets.
That's technically correct, because the import statement is
from django.db.transaction import commit_on_success, but I've changed it in [2466] to match the other examples. Thanks for reporting!