This commit is contained in:
j 2014-01-02 14:07:02 +00:00
parent 8103f01a36
commit 5705c9e74d

View file

@ -113,6 +113,6 @@ class Command(BaseCommand):
ids = [i['id'] for i in models.Item.objects.all().values('id')]
for id in ids:
i = models.Item.objects.get(pk=id)
if optoins['debug']:
if options['debug']:
print i
i.update_sort()