Answer the question
In order to leave comments, you need to log in
Templates for form fields, how to implement in Django?
The application has forms and there are many of them. But the conclusion is the same everywhere.
I need to display the form in my style
when displaying in the {{ form }} template .
That is, checkboxes, inputs, selects have a different layout.
After reading this:
djbook.ru/rel1.7/topics/forms/#reusable-form-templates
, I don’t understand how to make divisions in the form_snippet.html itself, how which widget should look like.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question