mirror of
https://github.com/django-components/django-components.git
synced 2025-07-16 21:15:00 +00:00
Remove component tag in favour of component_block.
This commit is contained in:
parent
f3350ced11
commit
ef6a082238
12 changed files with 101 additions and 108 deletions
|
@ -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'."
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue