Changes between Initial Version and Version 1 of Ticket #29741, comment 1
- Timestamp:
- Sep 7, 2018, 3:30:40 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29741, comment 1
initial v1 1 1 The inline's FormSet is given the parent object instance (already saved if the parent form was valid) so can you not leverage that to validate against? 2 2 3 See [https://docs.djangoproject.com/en/2.1/topics/forms/modelforms/#overriding-methods-on-an-inlineformset Overriding Methods on an InlineFormSet]. Can you not implement `clean()` accessing the parent object as `self.instance`?