def get_project(self, obj):
    path = reverse('projects_detail', kwargs={'project_slug': obj.project.slug})
    return self._absolute_url(path)
def get_project(self, obj):
    path = reverse('projects_detail', kwargs={'project_slug': obj.project.slug})
    return self._absolute_url(path)