summaryrefslogtreecommitdiff
path: root/todolists
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-11-06 21:17:27 -0600
committerDan McGee <dan@archlinux.org>2013-11-06 21:17:27 -0600
commitee6002c911952ddc8cfd07fded3de2c9b0193dc6 (patch)
tree09e1d0d8e1aba35289d62b95b47b318ebd8a1527 /todolists
parent86f9d6788e22376560ca1a56e86c8f679b832907 (diff)
Django 1.6 upgrade, deprecation cleanup
PendingDeprecationWarning: commit_on_success is deprecated in favor of atomic. Signed-off-by: Dan McGee <dan@archlinux.org>
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()