Opened 18 years ago

Closed 18 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 ....

Change History (1)

comment:1 by Adrian Holovaty, 18 years ago

Resolution: fixed
Status: newclosed

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!

Note: See TracTickets for help on using tickets.
Back to Top