def resolve(self):
    self.children = self._get_children()
    self.icon = self._icon
    self.label = self._label
    self.url = None
    if self._link:
        self.icon = getattr(self._link, 'icon', self._icon)
        self.url = reverse(viewname=self._link.view, args=self._link.args)
    return ''
def resolve(self):
    self.children = self._get_children()
    self.icon = self._icon
    self.label = self._label
    self.url = None
    if self._link:
        self.icon = getattr(self._link, 'icon', self._icon)
        self.url = reverse(viewname=self._link.view, args=self._link.args)
    return 