Remove component tag in favour of component_block.

This commit is contained in:
Emil Stenström 2024-02-11 22:08:35 +01:00 committed by Emil Stenström
parent f3350ced11
commit ef6a082238
12 changed files with 101 additions and 108 deletions

View file

@ -253,7 +253,7 @@ class Component(View, metaclass=SimplifiedInterfaceMediaDefiningClass):
# can be invoked with implicit filling.
if default_fill_content and not default_slot_encountered:
raise TemplateSyntaxError(
f"Component '{self.registered_name}' passed default fill content "
f"Component '{self.registered_name}' passed default fill content '{default_fill_content}'"
f"(i.e. without explicit 'fill' tag), "
f"even though none of its slots is marked as 'default'."
)