I feel like I am missing something obvious, but I have been struggling with this for a couple of hours and haven't figured it out. How do I override the sections query that is used by the section_menu template tag? It seems like I should be able to add
kwargs={'sections': my_sections} to my url patterns to override the default sections query in SectionMenuNode, but I'm not sure exactly what
my_sections should be. Before digging into the code, I assumed it would be a queryset, but this does not appear to be the case. Specifically, I don't understand what this line of code is doing (
armstrong.core.arm_sections.template_tags.section_helpers.py).
sections = self.sections.resolve(context)
Any help is greatly appreciated.
Thanks!
Wes