mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 11:05:41 +00:00
Additional output for invoke tasks (#8476)
This commit is contained in:
3
tasks.py
3
tasks.py
@ -372,6 +372,7 @@ def clean_settings(c):
|
|||||||
"""Clean the setting tables of old settings."""
|
"""Clean the setting tables of old settings."""
|
||||||
info('Cleaning old settings from the database')
|
info('Cleaning old settings from the database')
|
||||||
manage(c, 'clean_settings')
|
manage(c, 'clean_settings')
|
||||||
|
success('Settings cleaned successfully')
|
||||||
|
|
||||||
|
|
||||||
@task(help={'mail': "mail of the user who's MFA should be disabled"})
|
@task(help={'mail': "mail of the user who's MFA should be disabled"})
|
||||||
@ -624,6 +625,8 @@ def update(
|
|||||||
if not skip_static:
|
if not skip_static:
|
||||||
static(c, frontend=not no_frontend)
|
static(c, frontend=not no_frontend)
|
||||||
|
|
||||||
|
success('InvenTree update complete!')
|
||||||
|
|
||||||
|
|
||||||
# Data tasks
|
# Data tasks
|
||||||
@task(
|
@task(
|
||||||
|
Reference in New Issue
Block a user