fix: move uploads away from static files & fix company logo

This commit is contained in:
2026-09-14 21:12:33 +02:00
parent 1d25e49966
commit cc76207bb4
4 changed files with 15 additions and 4 deletions
+3 -1
View File
@@ -129,9 +129,11 @@ except Exception as e:
STATIC_URL = 'static/'
STATICFILES_DIRS = [
BASE_DIR / "static/",
BASE_DIR / "uploads/",
]
MEDIA_URL = "/uploads/"
MEDIA_ROOT = BASE_DIR / "uploads/"
# Email
# https://docs.djangoproject.com/en/6.1/topics/email/#topic-email-configuration
EMAIL_BACKEND = 'post_office.EmailBackend'