On Thursday, December 18, 2014 6:20:34 AM UTC+2, Shai Berger wrote: > > > The generic relations still work a bit differently to that of reverse > > foreign key - where reverse foreign keys can be filtered > > with .filter(reverse_relation=some_related_object), that doesn't work > > with reverse relations, instead you have to explicitly provide the > > primary key value by doing .filter(generic_rel=some_related_object.pk). > >
> So, I'm not sure if we should document this behavior or try to fix it as > well. > > I think we should fix this, but this isn't a high-priority item, at least not to me. This should be easier to fix in 1.9 when we can drop the backwards compat for pre 1.6 lookups from the ORM. - Anssi -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/18bd83ec-c480-4e12-9627-50f93ef6cbcd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
