def get__self(self, obj):
    path = reverse('projects-environmentvariables-detail', kwargs={'parent_lookup_project__slug': obj.project.slug, 'environmentvariable_pk': obj.pk})
    return self._absolute_url(path)
def get__self(self, obj):
    path = reverse('projects-environmentvariables-detail', kwargs={'parent_lookup_project__slug': obj.project.slug, 'environmentvariable_pk': obj.pk})
    return self._absolute_url(path)