I have models and admin configuration like these:
http://dpaste.com/94671/

when I edit the model "composizione" the first foreign key
(composizione) field of "through" model is automatically valorized by
the parent model, and the second (articolo) is user selected. The
problem is that if I don't valorize the second filed (articolo),and I
edit only the parent model, I get an empty field error validation on
the extra inline model.
Can I escape this validation ? Or is not possible to use inline
editing when I have an intermediary model?
If I put blank=True in the field articolo of intermediary model I get
another error because the foreign key must be not blank.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to