mirror of
https://github.com/django-components/django-components.git
synced 2025-08-08 00:07:59 +00:00
refactor: rename context_data
field to template_data
(#1162)
This commit is contained in:
parent
28b61c1609
commit
d4d834256a
7 changed files with 33 additions and 4 deletions
|
@ -2476,7 +2476,9 @@ class Component(metaclass=ComponentMeta):
|
|||
component=self,
|
||||
component_cls=self.__class__,
|
||||
component_id=render_id,
|
||||
# TODO_V1 - Remove `context_data`
|
||||
context_data=template_data,
|
||||
template_data=template_data,
|
||||
js_data=js_data,
|
||||
css_data=css_data,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue