Front desk form to add scores, added to the database after submit
{% for student in student_inform_reg %}
Formmethod="post" style="font - size: 18 px; Width: 150 px "& gt;
Formmethod="post" style="font - size: 18 px; Width: 150 px "& gt;
{% endfor %}
Now submit only after the last line of data, how to get all the data
CodePudding user response:
Obtain all student_inform_reg returns all hereCodePudding user response:
Views. Py it should write ah, how do I get so, how to get all theScore=request. POST. Get (" score ")
Student_id=request. POST. Get (" student_id ")