summaryrefslogtreecommitdiffstats
path: root/todolists/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'todolists/views.py')
-rw-r--r--todolists/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/todolists/views.py b/todolists/views.py
index ff75686..c37c13f 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()