The Creating a template tag to load a QuerySet in a template recipe in Chapter 5, Custom Template Filters and Tags The Creating templates for Django CMS recipe The Attaching your own navigation recipe