You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class Loader from src/django_components/template_loader.py should consider the second item of STATICFILES_DIRS list item when not a str.
Furthermore
Thank you a lot, sir, for this django library. It helped us, a French news company, a lot to center our codebase almost fully on Django.
I might try to suggest a clean PR for this
The text was updated successfully, but these errors were encountered:
How to reproduce
Simply run django with, in your settings.py, something like :
(as made possible natively in Django)
Current behaviour
Getting
TypeError: expected str, bytes or os.PathLike object, not tuple
given [this line] (django-components/src/django_components/template_loader.py
Line 49 in e566d8e
Expected
class Loader
from src/django_components/template_loader.py should consider the second item of STATICFILES_DIRS list item when not a str.Furthermore
Thank you a lot, sir, for this django library. It helped us, a French news company, a lot to center our codebase almost fully on Django.
I might try to suggest a clean PR for this
The text was updated successfully, but these errors were encountered: