Re: Validating and cleaning related models ...

2017-02-01 Thread Bernd Wechner
Melvyn, Thanks. Alas That was but one example in an apocryphal model set, and I have rather more relationship criteria to test in a more complex nest of models. I'm still drilling down into Django to see what I can uncover. Notably form.instance for the main form and all the related formsets,

Re: Validating and cleaning related models ...

2017-01-25 Thread Melvyn Sopacua
On Tuesday 24 January 2017 17:50:39 Bernd Wechner wrote: > I find myself in a conundrum with related models and related formsets. > I'll try and simplify a rather complex set of relations to illustrate > the bare bones gist of my issue. Imagine the standard Djnago docs > example: > > class

Validating and cleaning related models ...

2017-01-24 Thread Bernd Wechner
I find myself in a conundrum with related models and related formsets. I'll try and simplify a rather complex set of relations to illustrate the bare bones gist of my issue. Imagine the standard Djnago docs example: class Musician(models.Model): first_name = models.CharField(max_length=50)