D
D
Dauren S2017-02-18 14:38:55
Django
Dauren S, 2017-02-18 14:38:55

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>

how now to make update form so that the data is substituted in the form

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Kitaev, 2017-02-18
@deliro

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 question

Ask a Question

731 491 924 answers to any question