1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-03 17:36:05 +00:00

fix(static): collectstatic writes to staticfiles/, and its output is no longer committed

This commit is contained in:
catborise 2026-10-07 16:05:16 +03:00
parent 841c412f76
commit 7639d21ec4
134 changed files with 52 additions and 11155 deletions

View file

@ -192,7 +192,10 @@ USE_TZ = True
STATIC_URL = "/static/"
STATIC_ROOT = Path.joinpath(BASE_DIR, "static")
# Source assets live in static/; collectstatic gathers them with the apps'
# assets into staticfiles/ (gitignored), which WhiteNoise and nginx serve.
STATICFILES_DIRS = [BASE_DIR / "static"]
STATIC_ROOT = BASE_DIR / "staticfiles"
BS_ICONS_CACHE = Path.joinpath(BASE_DIR, 'static/icon_cache')