Добавил STATIC_ROOT
This commit is contained in:
@@ -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
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user