@register.inclusion_tag('itags/page_list.html')
def show_page_list():
	page_list = Page.objects.filter(in_nav=1).order_by('order')
	return {'page_list': page_list}
For creating a nav list
dataset/ETHPy150Open davemerwin/blue-channel/bluechannel/page/templatetags/page_tags.py/show_page_list