summaryrefslogtreecommitdiff
path: root/todolists
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-11-25 21:10:25 -0600
committerDan McGee <dan@archlinux.org>2013-11-25 21:10:25 -0600
commit108cfaa8df3b94031a3436fbb71c76fdc0650ba1 (patch)
tree61c30085b49e63c6605dfebac3bef5e123cbaa70 /todolists
parent06317908f73420224fce0c400048c3b7dcfc8abb (diff)
parent071bd6bd71f681c45048fc0a0961e58d43d44d48 (diff)
Merge branch 'django-1.6'
Diffstat (limited to 'todolists')
-rw-r--r--todolists/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/todolists/views.py b/todolists/views.py
index ff75686d..c37c13f5 100644
--- a/todolists/views.py
+++ b/todolists/views.py
@@ -147,7 +147,7 @@ class DeleteTodolist(DeleteView):
success_url = '/todo/'
-@transaction.commit_on_success
+@transaction.atomic
def create_todolist_packages(form, creator=None):
package_names = form.package_names()
packages = form.packages()