Opened 8 years ago

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

Attachments (0)

Change History (1)

comment:1 Changed 8 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!

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.