Annotating the Parent on a Page QuerySet

Annotating the Parent on a Page QuerySet

Wagtail CMS
Demonstrates using Django ORM subqueries and custom database functions to annotate a parent field on Wagtail Page querysets while noting built-in alternatives.