Add django-imagekit to BookWyrm

This commit is contained in:
Joachim 2021-05-24 16:14:51 +02:00
parent ff95a709a8
commit 77e81c4dbb
3 changed files with 6 additions and 1 deletions

View file

@ -62,6 +62,7 @@ INSTALLED_APPS = [
"django_rename_app",
"bookwyrm",
"celery",
"imagekit",
]
MIDDLEWARE = [

5
bw-dev
View file

@ -107,7 +107,10 @@ case "$CMD" in
populate_streams)
runweb python manage.py populate_streams
;;
generateimages)
runweb python manage.py generateimages
;;
*)
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_feeds, generateimages"
;;
esac

View file

@ -1,5 +1,6 @@
celery==4.4.2
Django==3.2.0
django-imagekit==4.0.2
django-model-utils==4.0.0
environs==7.2.0
flower==0.9.4