Displaying model data in Django using for loop

后端 未结 0 1957
暗喜
暗喜 2020-12-09 11:35

Im attempting to display all the course Names in my Course Model,

            {% for course in object_list%}
            
  • {{ course.courseName}} <
  • 相关标签:
    回答
    • 消灭零回复
    提交回复
    热议问题