Adds management command for populating suggestions

This commit is contained in:
Mouse Reeve
2021-05-22 16:10:11 -07:00
parent 5174260351
commit 98e537280e
4 changed files with 65 additions and 8 deletions

5
bw-dev
View File

@ -107,7 +107,10 @@ case "$CMD" in
populate_streams)
runweb python manage.py populate_streams
;;
populate_suggestions)
runweb python manage.py populate_suggestions
;;
*)
echo "Unrecognised command. Try: build, clean, up, initdb, resetdb, makemigrations, migrate, bash, shell, dbshell, restart_celery, test, pytest, test_report, black, populate_feeds"
echo "Unrecognised command. Try: build, clean, up, initdb, resetdb, makemigrations, migrate, bash, shell, dbshell, restart_celery, test, pytest, test_report, black, populate_streams, populate_suggestions"
;;
esac