mirror of
https://github.com/Superredstone/patrickcanal.it.git
synced 2026-11-19 12:41:15 +01:00
fix: move uploads away from static files & fix company logo
This commit is contained in:
4 files changed
+15
-4
No files matched your search
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user