Re: validate_unique not checking parents of parents' fields?

2011-04-02 Thread Bryan
Ah perfect thanks! I looked to see if something had been submitted, but couldn't find it. On Apr 2, 3:26 pm, Karen Tracey wrote: > On Sat, Apr 2, 2011 at 4:37 PM, Bryan wrote: > > Is this a bug? > > Yes:http://code.djangoproject.com/ticket/15321 > > Karen > --http://tracey.org/kmt/ -- You rece

Re: validate_unique not checking parents of parents' fields?

2011-04-02 Thread Karen Tracey
On Sat, Apr 2, 2011 at 4:37 PM, Bryan wrote: > Is this a bug? Yes: http://code.djangoproject.com/ticket/15321 Karen -- http://tracey.org/kmt/ -- 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

validate_unique not checking parents of parents' fields?

2011-04-02 Thread Bryan
As far as I can tell, if one has three models, GrandparentModel, ParentModel, and ChildModel, in which GrandparentModel defines a unique field unique_field, Childmodel.validate_unique() will not check the uniqueness of unique_field. The fields to check are determined by ChildModel._get_unique_chec