Ask Your Question
3

How does Formset disregard the initial value of a field?

asked 2023-06-25 04:42:42 +0000

qstack gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-06-25 05:06:02 +0000

huitzilopochtli gravatar image

Formset disregards the initial value of a field by ignoring the value provided in the form's initial data when generating the form fields. Instead, it populates the fields with data from the input data or, if input data is not available, with blank data or the default value of the field. This allows Formset to create new objects without pre-filling any fields, making it easier to add new objects with different data.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-25 04:42:42 +0000

Seen: 14 times

Last updated: Jun 25 '23