invoke task for celan_settings
This commit is contained in:
parent
2347f15c2e
commit
ae8e58ac12
10
tasks.py
10
tasks.py
|
|
@ -137,6 +137,14 @@ def rebuild(c):
|
|||
|
||||
manage(c, "rebuild_models")
|
||||
|
||||
@task
|
||||
def clean_settings(c):
|
||||
"""
|
||||
Clean the setting tables of old settings
|
||||
"""
|
||||
|
||||
manage(c, "clean_settings")
|
||||
|
||||
@task
|
||||
def migrate(c):
|
||||
"""
|
||||
|
|
@ -167,7 +175,7 @@ def static(c):
|
|||
manage(c, "collectstatic --no-input")
|
||||
|
||||
|
||||
@task(pre=[install, migrate, static])
|
||||
@task(pre=[install, migrate, static, clean_settings])
|
||||
def update(c):
|
||||
"""
|
||||
Update InvenTree installation.
|
||||
|
|
|
|||
Loading…
Reference in New Issue