django-components/django_components
VojtechPetru 26bd72a9e2
Invalid slot more helpful message (#283)
* more helpful message when filling invalid slot name

* Update tests/test_templatetags.py

Co-authored-by: Emil Stenström <emil@emilstenstrom.se>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* add missing import; set -> typing.Set

* fix after rebase

* set -> typing.Set

* let -> typing.List

* Reduce duplicated effort; extend helpfulness; add extra comments

code qa

---------

Co-authored-by: Emil Stenström <emil@emilstenstrom.se>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: lemontheme <lemontheme@gmail.com>
2023-05-22 14:54:18 +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 Invalid slot more helpful message (#283) 2023-05-22 14:54:18 +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