mirror of
https://github.com/Superredstone/patrickcanal.it.git
synced 2026-09-20 17:51:12 +02:00
fix: move uploads away from static files & fix company logo
This commit is contained in:
@@ -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