Add STATICFILES_DIRS setting
This commit is contained in:
parent
1c42dd1651
commit
a94fa35f41
1 changed files with 1 additions and 0 deletions
|
|
@ -47,6 +47,7 @@ NINJA_PAGINATION_PER_PAGE = 1000
|
|||
STATIC_URL = "static/"
|
||||
STATIC_ROOT: Path = BASE_DIR / "staticfiles"
|
||||
STATIC_ROOT.mkdir(parents=True, exist_ok=True)
|
||||
STATICFILES_DIRS: list[Path] = [BASE_DIR / "static"]
|
||||
MEDIA_URL = "media/"
|
||||
MEDIA_ROOT: Path = BASE_DIR / "media"
|
||||
MEDIA_ROOT.mkdir(parents=True, exist_ok=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue