I have a form like the following:
class MyForm(Form):
#personal data
firstname = CharField()
lastname = CharField()
#education data
university = Char
If you want to customize the form, you don't have to render it form.as_ul
. Django knows how to render foobar if you have set up the forms model properly...try it...no worries.
Look at what python on the server sent your page. For example if it sent a django form like this:
return respond(request, user, 'templateName', { 'myform':myform })
then templateName.html will have: