I want to display multiple instance of same object in a form and collect all the data in single click. One example I can think of is let say, I want to take attendance of fifty students in my db. I need to present the user with all the students and a check box so as to mark, who all are present and submit the result at end.
Note: I am fairly new to Django, I am okay with models and forms as a beginner.
Django的表单集正是为此目的而创建的。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.