This commit is contained in:
Emil Stenström 2023-02-09 22:15:51 +01:00
commit 47af3151e2
3 changed files with 14 additions and 13 deletions

View file

@ -292,7 +292,8 @@ def do_component_block(parser, token):
def slot_tokens(parser):
"""Yield each 'slot' token appearing before the next 'endcomponent_block' token.
Raises TemplateSyntaxError if there are other content tokens or if there is no endcomponent_block token."""
Raises TemplateSyntaxError if there are other content tokens or if there is no endcomponent_block token.
"""
def is_whitespace(token):
return (