remove bootstrap tasks

Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
Marc 'risson' Schmitt
2025-06-05 15:47:12 +02:00
parent e671811ad2
commit aca0bde46d
3 changed files with 1 additions and 30 deletions

View File

@ -35,9 +35,7 @@ if __name__ == "__main__":
if (
len(sys.argv) > 1
# Explicitly only run migrate for server and worker
# `bootstrap_tasks` is a special case as that command might be triggered by the `ak`
# script to pre-run certain tasks for an automated install
and sys.argv[1] in ["dev_server", "worker", "bootstrap_tasks"]
and sys.argv[1] in ["dev_server", "worker"]
# and don't run if this is the child process of a dev_server
and os.environ.get(DJANGO_AUTORELOAD_ENV, None) is None
):