feat: Add basic image upload (WIP)

This commit is contained in:
2024-03-20 11:38:30 +01:00
parent 68e6d3e299
commit 240ced0374
7 changed files with 33 additions and 5 deletions

View File

@@ -105,6 +105,9 @@ print(f"Allowed hosts: {ALLOWED_HOSTS}")
# This is adjusted based on this guide https://testdriven.io/blog/django-docker-traefik/
# compression and caching support (see https://whitenoise.readthedocs.io/en/latest/#quickstart-for-django-apps)
STORAGES = {
"default": {
"BACKEND": "django.core.files.storage.FileSystemStorage",
},
"staticfiles": {
"BACKEND": "whitenoise.storage.CompressedManifestStaticFilesStorage",
},