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", "django_rename_app",
"bookwyrm", "bookwyrm",
"celery", "celery",
"imagekit",
] ]
MIDDLEWARE = [ MIDDLEWARE = [

5
bw-dev
View file

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

View file

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