mirror of
https://github.com/django-components/django-components.git
synced 2025-07-19 06:15:00 +00:00
Renamed get_context
to get_context_data
This commit is contained in:
parent
b322ab0294
commit
5fcabaa5ba
7 changed files with 22 additions and 22 deletions
|
@ -49,7 +49,7 @@ class Component(metaclass=SimplifiedInterfaceMediaDefiningClass):
|
|||
self.instance_template = None
|
||||
self.slots = {}
|
||||
|
||||
def get_context(self, *args, **kwargs):
|
||||
def get_context_data(self, *args, **kwargs):
|
||||
return kwargs
|
||||
|
||||
def get_template_name(self, context=None):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue