Добавил STATIC_ROOT

This commit is contained in:
Viner Abubakirov
2026-01-03 01:34:54 +05:00
parent 75c115f7f0
commit 73279b2010

View File

@@ -128,6 +128,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/6.0/howto/static-files/
STATIC_URL = 'static/'
STATIC_ROOT = BASE_DIR / 'staticfiles'
STATICFILES_DIRS = [
BASE_DIR / STATIC_URL
]