Editing Django _form.as_p

前端 未结 5 1360
名媛妹妹
名媛妹妹 2021-02-02 11:38

By default _form.as._p spits out:

5条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-02 12:08

    If you just need a break, then there's no need to change the Django code. Just use CSS to style label as display: block.

提交回复
热议问题