def get_content_for_frontend(self, request=None): return FrontendConverter(self, request=request).get_menu_items()
def do_conversion(self, menu): request = RequestFactory().get('/') converter = FrontendConverter(menu, request=request) return converter.get_menu_items()
def do_conversion(self, menu, request): converter = FrontendConverter(menu, request=request) return converter.get_menu_items()