ModelForm currently does not provide anything like class="required"
on rendered forms where fields are required. This has led me to
create the fields manually in the form and add the style attribute to
the widget. Doing this, I then lose help_text definitions created in
the model.
So I can
Unless your model has defined columns with unique_together, and the
form attempts to save fields which violate the constraint. In that
case, an integrity exception is raised because ModelForm does not
currently valid it. You must perform this validation yourself.
On Apr 19, 10:20 pm, Malcolm
2 matches
Mail list logo