python - How to access a checkbox that's in a form in a Django template in view function in Django -
i have html file has form element. inside form have checkbox. how can access checkbox value when ticked inside views in django?
when send post request can access data sent dictionary request.post.
you should first read django forms documentation: https://docs.djangoproject.com/en/dev/topics/forms/
Comments
Post a Comment