D
D
devalone2017-03-13 18:38:42
Django
devalone, 2017-03-13 18:38:42

Django. How to make two variants of one form?

There is a model that users can add and edit, a number of checks are made in the add form, and the widgets used are set. How now to add an edit form, in which there will be no part of the fields? Inherit first form or how to do it right in django?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2017-03-13
@devalone

Inherit and specify fields
https://docs.djangoproject.com/en/1.10/topics/form...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question