def get_paths(self): obj = self.get_object() return [ PathText("Home"), PathLink("Gradebook", reverse_lazy("gradebook:teacher_home")), PathLink( str(obj.subject), reverse_lazy("gradebook:teacher_gradebook_detail", kwargs={'pk': obj.id})), ]
def get_paths(self): obj = self.get_object() return [ PathText("Home"), PathLink("Gradebook", reverse_lazy("gradebook:teacher_home")), PathLink( str(obj.subject_record_book.subject), reverse_lazy("gradebook:teacher_gradebook_detail", kwargs={'pk': obj.subject_record_book.id})), PathText(obj.student_record_book.user.full_name), PathText("Add Grade") ]
def get_paths(self): return [ PathText("Home"), PathLink("Profile", reverse("accounts:my_profile")), PathLink("Update", reverse("accounts:my_profile_update")) ]
def get_paths(self): return [ PathText("Home"), PathLink("Gradebook", reverse_lazy("gradebook:teacher_home")), ]