(self, **kwargs)
return get_object_or_404(
            self.model.objects.select_related(),
            slug=self.kwargs.get("curriculum_guide_section_slug", None),
            curriculum_guide__slug=self.kwargs.get("curriculum_guide_slug", None)
        )
Retrieve object for the curriculum guide section view.

        Returns:
            CurriculumGuideSection object (CurriculumGuideSection).

        Raises:
           404 error: if object cannot be found.
Retrieve object for the curriculum guide section view.
Retrieve object for the curriculum guide section view .
def get_object(self, **kwargs):
        """Retrieve object for the curriculum guide section view.

        Returns:
            CurriculumGuideSection object (CurriculumGuideSection).

        Raises:
           404 error: if object cannot be found.
        """
        return get_object_or_404(
            self.model.objects.select_related(),
            slug=self.kwargs.get("curriculum_guide_section_slug", None),
            curriculum_guide__slug=self.kwargs.get("curriculum_guide_slug", None)
        )
def get_object ( self , * * kwargs ) : return get_object_or_404 ( self . model . objects . select_related ( ) , slug = self . kwargs . get ( "curriculum_guide_section_slug" , None ) , curriculum_guide__slug = self . kwargs . get ( "curriculum_guide_slug" , None ) )