django-components/django_components
adriaan 2d86f042da
Implement #231 – default slot filling (#269)
* Add 'default' slot option + implicit fills; tests; docs
* Differentiate between standard fillnodes and implicitfillnodes on type lvl
* Reworking slot-fill rendering logic. Simplifying component interfact. Add new get_string_template method
* First working implementation of chainmap instead of stacks for slot resolution
* Stop passing FillNode to Component initalizer -> better decoupling
* Treat fill name and alias and component name as filterexpression, dropping namedvariable
* Name arg of if_filled tags and slots must be string literal
2023-05-18 14:58:46 +02:00
..
safer_staticfiles ignore .pyc files in collectstatic 2023-04-22 01:27:35 +02:00
templatetags Implement #231 – default slot filling (#269) 2023-05-18 14:58:46 +02:00
__init__.py Introduce {% fill %} replacing 'fill' func of 'slot' tag 2023-03-14 23:40:21 +01:00
app_settings.py Add required kwd to slot tag and add test 2023-03-14 23:40:21 +01:00
apps.py Autodiscover components in components.py inside an app (#24) 2021-02-05 21:31:09 +01:00
component.py Implement #231 – default slot filling (#269) 2023-05-18 14:58:46 +02:00
component_registry.py Implement #231 – default slot filling (#269) 2023-05-18 14:58:46 +02:00
middleware.py Implement #231 – default slot filling (#269) 2023-05-18 14:58:46 +02:00
template_loader.py Handle case with SETTINGS_MODULE not set. 2022-07-18 09:23:04 +02:00