Opened 10 years ago

Closed 10 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: UI/UX:


in the transaction docs shouldn't the following

84 @commit_on_success
85 def viewfunc(request):
86 ....


84 @transaction.commit_on_success
85 def viewfunc(request):
86 ....

Change History (1)

comment:1 Changed 10 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

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