Protect generate_preview_images command
- add `--all` argument - send computation intensive tasks to Celery
This commit is contained in:
parent
f206f61e9a
commit
61367c3f4f
2 changed files with 46 additions and 38 deletions
2
bw-dev
2
bw-dev
|
@ -108,7 +108,7 @@ case "$CMD" in
|
|||
runweb python manage.py populate_streams
|
||||
;;
|
||||
generate_preview_images)
|
||||
runweb python manage.py generate_preview_images
|
||||
runweb python manage.py generate_preview_images $@
|
||||
;;
|
||||
*)
|
||||
echo "Unrecognised command. Try: build, clean, up, initdb, resetdb, makemigrations, migrate, bash, shell, dbshell, restart_celery, test, pytest, test_report, black, populate_feeds, generate_preview_images"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue