fix lists, handle async requests

This commit is contained in:
j 2014-05-26 18:02:41 +02:00
commit d451eb3063
9 changed files with 25 additions and 30 deletions

View file

@ -98,6 +98,11 @@ class PostUpdate(Command):
changed = True
if changed:
f.save()
if old <= '20140526-117-39ea043' and new > '20140526-117-39ea043':
import item.models
for i in item.models.Item.query:
i.update_lists()
item.models.db.session.commit()
class Setup(Command):
"""