mirror of
https://github.com/django-components/django-components.git
synced 2025-08-07 15:58:00 +00:00
feat: add BaseNode.contents (#1177)
This commit is contained in:
parent
661413d4a9
commit
5f4fbe76e5
6 changed files with 184 additions and 10 deletions
|
@ -2888,8 +2888,9 @@ class ComponentNode(BaseNode):
|
|||
flags: Optional[Dict[str, bool]] = None,
|
||||
nodelist: Optional[NodeList] = None,
|
||||
node_id: Optional[str] = None,
|
||||
contents: Optional[str] = None,
|
||||
) -> None:
|
||||
super().__init__(params=params, flags=flags, nodelist=nodelist, node_id=node_id)
|
||||
super().__init__(params=params, flags=flags, nodelist=nodelist, node_id=node_id, contents=contents)
|
||||
|
||||
self.name = name
|
||||
self.registry = registry
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue