edit storage in settings

This commit is contained in:
javad committed 2026-06-21 08:18:08 +03:30
1 parent 5e29e9d902
commit 2dde1c8a0f
1 file changed
+4
+4
View File
@@ -4,7 +4,11 @@ STATIC_URL = '/static/'
STATIC_ROOT = '/app/staticfiles'
#DEBUG = False
# 🚀 اضافه کردن تنظیمات ذخیره‌سازی وایت‌نویز
# 🚀 اصلاح تنظیمات ذخیره‌سازی برای جنگو ۴.۲ و بالاتر
STORAGES = {
"default": {
"BACKEND": "django.core.files.storage.FileSystemStorage",
},
"staticfiles": {
"BACKEND": "whitenoise.storage.CompressedManifestStaticFilesStorage",
},