-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Description
STATICFILES_DIRS
can be a list of tuples to add a prefix for static files: https://docs.djangoproject.com/en/5.2/ref/settings/#prefixes-optional.
However, that causes the following TypeError: argument should be a str or an os.PathLike object where __fspath__ returns a str, not 'tuple'
error.

I think
dist_css = Path(settings.STATICFILES_DIRS[0]) / dist_css_base |
tuple
and handle that specifically? If that makes sense I can make a PR, but wanted to check first before I do that!Metadata
Metadata
Assignees
Labels
No labels