mirror of
https://github.com/django-components/django-components.git
synced 2025-09-17 03:15:02 +00:00
Merge branch 'master' of https://github.com/EmilStenstrom/django-components
This commit is contained in:
commit
47af3151e2
3 changed files with 14 additions and 13 deletions
|
@ -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 (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue