﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
15664	Unexpected brackets when describing commit_on_success	henryl	nobody	"In the 'Controlling transaction management in views' section of the database transaction page (http://docs.djangoproject.com/en/dev/topics/db/transactions/#controlling-transaction-management-in-views) the decorator example is

{{{
  #!python
  from django.db import transaction
  
  @transaction.commit_on_success()
  def viewfunc(request):
    ...
}}}

The '()' following commit_on_success shouldn't be there. It should be

{{{
  #!python
  from django.db import transaction
  
  @transaction.commit_on_success
  def viewfunc(request):
    ...
}}}

In the actual 'commit_on_success' section (http://docs.djangoproject.com/en/dev/topics/db/transactions/#django.db.transaction.commit_on_success) it is correctly used."		closed	Documentation	1.2		fixed			Accepted	0	0	0	0	0	0
