> Is there a way that default managers can be taken into
> consideration when filtering through related fields? I don't know
> exactly how this is supposed to work, is this the desired behavior?
>
It's not a bug, it's a feature :) Specifically, it's an artifact from
the 'fix' in #7666 -- fortunately, there's a way simple way to
override, but it'll require a simple sublcass of CurrentSiteManager:
class MySiteManager(CurrentSiteManager):
use_for_related_fields = True
That should be it.
Regards,
-Justin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---