The Creating a form layout with django-crispy-forms recipe in Chapter 3, Forms and Views The Rendering categories in a template with django-mptt recipe The Using a single selection field to choose a category in forms recipe