fix lists, handle async requests
This commit is contained in:
parent
39ea0437df
commit
d451eb3063
9 changed files with 25 additions and 30 deletions
|
|
@ -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):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue