mercredi 13 octobre 2021

Display items using checkboxes and POST only the checked ones

I am working on a sort of attendance check system which is a webpage. Actually I want a student when registering to be able to select the courses he is enrolled for through the use of checkboxes and then later get this data through POST. How can I achieve this using django modelforms?, how is the rendering done in the template? And how should I POST the data from the checkboxes in my views? Need help please. Thanks.




Aucun commentaire:

Enregistrer un commentaire