2👍
✅
This is a Mezzanine thing.
BlogPost
, and indeed most other Mezzanine models, subclass SiteRelated
which sets the manager of the object to filter results for the current site. So BlogPost.objects.all()
will filter results for the current site.
There is a sneaky hack you can use to bypass this manager:
BlogPost._base_manager.all()
This will fetch all objects for all sites.
Source:stackexchange.com