Renamed get_context to get_context_data

This commit is contained in:
Real-Gecko 2021-09-01 12:23:12 +06:00 committed by Emil Stenström
parent b322ab0294
commit 5fcabaa5ba
7 changed files with 22 additions and 22 deletions

View file

@ -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):