Answer the question
In order to leave comments, you need to log in
Django update form?
I made a form for adding records from the frontend for users. I made it through the form. the template has
this code
<form class="form-horizontal answer_form" method="post" enctype="multipart/form-data">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Отправить" />
<input type="submit" class="btn btn-primary" value="Отправить" />
</form>
Answer the question
In order to leave comments, you need to log in
Here is the doc https://docs.djangoproject.com/en/1.10/ref/class-b...
Read on.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question