in line 16 of code in college_detail.html ->>>>>inside the for loop why is written object.student_object.all ???
Generic view detail
objects.<realtedmodelname_objects> is the format to use the manager and then .all fetches all the records.
in line 16 of code in college_detail.html ->>>>>inside the for loop why is written object.student_object.all ???
objects.<realtedmodelname_objects> is the format to use the manager and then .all fetches all the records.