remove deprecated commit_on_success (works for Django >= 1.6), update requirements to Django 1.6.7

This commit is contained in:
Thomas Waldmann 2014-09-26 02:32:46 +02:00
parent 63c1cdbe6b
commit dd95d84404
2 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ class Command(BaseCommand):
reset_abuse_blocked = options['reset_abuse_blocked'] reset_abuse_blocked = options['reset_abuse_blocked']
flag_abuse = options['flag_abuse'] flag_abuse = options['flag_abuse']
notify_user = options['notify_user'] notify_user = options['notify_user']
with transaction.commit_on_success(): # TODO: after requiring django 1.6, use atomic() with transaction.atomic():
for h in Host.objects.all(): for h in Host.objects.all():
if show_client or show_server: if show_client or show_server:
output = u"" output = u""

View File

@ -1,7 +1,7 @@
# packages always needed # packages always needed
dnspython dnspython
netaddr netaddr
django==1.6.6 django==1.6.7
django-bootstrap-form django-bootstrap-form
django-registration django-registration
South South