def METHOD_NAME(self, **kwargs):
    context = super(self.__class__, self).METHOD_NAME(**kwargs)
    if self.extra_context is not None:
        for key, value in self.extra_context.items():
            if callable(value):
                context[key] = value()
            else:
                context[key] = value
    return context