'Returns absolute URL of the Group'

def get_absolute_url(self, module='identities'):

    if ((not module) or (module == 'identities')):
        try:
            return reverse('identities_group_view', args=[self.id])
        except NoReverseMatch:
            return ''
    else:
        try:
            return reverse('core_administration_group_view', args=[self.id])
        except NoReverseMatch:
            return ''
