Author: timo
Date: 2011-03-27 16:00:36 -0700 (Sun, 27 Mar 2011)
New Revision: 15923

Modified:
   django/trunk/docs/topics/db/transactions.txt
Log:
Fixed #15664 - Removed extra parens in commit_on_success example.

Modified: django/trunk/docs/topics/db/transactions.txt
===================================================================
--- django/trunk/docs/topics/db/transactions.txt        2011-03-26 17:50:10 UTC 
(rev 15922)
+++ django/trunk/docs/topics/db/transactions.txt        2011-03-27 23:00:36 UTC 
(rev 15923)
@@ -73,7 +73,7 @@
 
             from django.db import transaction
 
-            @transaction.commit_on_success()
+            @transaction.commit_on_success
             def viewfunc(request):
                 # ...
                 # this code executes inside a transaction

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to