What's Changed
🚨 BREAKING CHANGES 🚨
django_components.safer_staticfiles
app was removed. It is no longer needed. (#652)- Installation changes:
- Instead of defining component directories in
STATICFILES_DIRS
, set them toCOMPONENTS.dirs
. - You now must define
STATICFILES_FINDERS
- See here how to migrate your settings.py
- Instead of defining component directories in
Feat
- Beside the top-level
/components
directory, you can now define also app-level components dirs, e.g.[app]/components
(SeeCOMPONENTS.app_dirs
). (#664)
Refactor
- When you call
as_view()
on a component instance, that instance will be passed toView.as_view()
Full Changelog: 0.97...0.100