wagtailmenus
wagtailmenus copied to clipboard
Use page.path to determine which pages are ancestors
Currently wagtailmenus makes a database query to identify the page IDs of ancestors, and keeps it around in the context to help figure this out.
If we can work this out without a query, we should definitely do so. And with active class derivation becoming more efficient, we should just go ahead and apply it every time, and not make it optional.