How to Make a Custom Inline Form for Admin

2018-04-17 Thread Mark Phillips
900, 1910, etc} A user would click a check box for Person and then select an option from the associated select box to add that metadata information to the DocumentMetaDataValue table. I have been playing around with using forms. ModelForms and forms.Forms, and can't seem to get anything to

Re: Custom inline form

2008-12-02 Thread mrsource
I find the problem: The validation was performed also on new extra widget because I have added a field that was always valorized then the self.has_changed property was always true then the validation was performed also for the new extra widget. Now the field is empty by default. But now another p

Custom inline form

2008-12-01 Thread mrsource
In the inline model option I have overriden the inline form with a custom form where I only added a choices widget, now the validation has a wrong behaviour...more precisely if I have set extra property to 2 in inline model options, when I click "Save" django try to validate even the two empty ex