Display some free text in between Django Form fields

前端 未结 8 638
无人及你
无人及你 2021-02-04 09:00

I have a form like the following:

class MyForm(Form):

  #personal data
  firstname = CharField()
  lastname = CharField()

  #education data
  university = Char         


        
8条回答
  •  不思量自难忘°
    2021-02-04 09:27

    Even though your form is populated from a database, you should still be able to manually write out the form, or use a template. Check out the Django form documentation for more details.

提交回复
热议问题