broad-camera-13514
06/16/2022, 1:45 PMbrash-journalist-63681
06/17/2022, 3:57 AMfresh-holiday-98778
06/17/2022, 1:36 PMeager-plastic-76453
06/18/2022, 4:33 AMloud-glass-33663
06/19/2022, 4:29 AM{{ forms.as_p }} or {{ forms.as_table }}
I need to create the forms in HTML by hand as the structure of the page is a little more complex than what these provide.
I know that I can do this (create a HTML form by hand) and then pluck the values in the view.py
using:
value = request.form["name"]
My question is whether this is the recommended way to do this?
I would have hoped that instead of creating the entire form in one go using: {{ <http://forms.as|forms.as>_p }}
, there would be an option to hand-craft individual form elements but with the Django helpers.
After which, I would be able to use the internal Django form helpers to read the values and validate the form.
From my ASP.Net days, I remember we could do something like:
<input type='text' name='forms.student_name.name' value='forms.student_name.value' />
Does Django offer something like this? Any pointer to a tutorial or site I can look at would be appreciated. Thanks!better-fish-79679
06/19/2022, 1:26 PMcreamy-dawn-73235
06/20/2022, 2:28 AMicy-addition-61071
06/20/2022, 8:41 AMchilly-rocket-77832
06/21/2022, 4:14 AMgray-bird-14941
06/21/2022, 6:11 AMmagnificent-solstice-42554
06/21/2022, 6:24 AMbitter-boots-24291
06/21/2022, 10:23 AMmany-intern-37109
06/21/2022, 10:36 AMquick-judge-84214
06/21/2022, 1:37 PMbland-umbrella-58222
06/21/2022, 6:22 PMgreen-tiger-63296
06/21/2022, 6:37 PMbitter-boots-24291
06/22/2022, 10:37 AMclever-advantage-29037
06/22/2022, 11:51 AMmelodic-potato-92766
06/22/2022, 3:56 PMsilly-island-29502
06/23/2022, 9:25 AMrhythmic-eye-15980
06/24/2022, 5:35 AMechoing-computer-87366
06/24/2022, 8:53 AMglamorous-church-73739
06/25/2022, 4:56 AMbroad-camera-13514
06/25/2022, 5:49 AMgray-bird-14941
06/27/2022, 7:48 AMred-oyster-35440
06/27/2022, 7:56 AMswift-microphone-91058
06/27/2022, 11:10 AMminiature-exabyte-51670
06/28/2022, 4:30 PMsparse-dog-4287
06/28/2022, 7:35 PMglamorous-mouse-696
06/28/2022, 7:48 PM