def get_context(self, value, parent_context=None):
    context = super().get_context(value, parent_context)
    button_page = value.get('page')
    if (button_page and button_page.live):
        context.update({'button_page': button_page.specific, 'text': (value.get('text') or button_page.title)})
    return context
def get_context(self, value, parent_context=None):
    context = super().get_context(value, parent_context)
    button_page = value.get('page')
    if (button_page and button_page.live):
        context.update({'button_page': button_page.specific, 'text': (value.get('text') or button_page.title)})
    return context