First, set up the categories app and django-treebeard as described in the Creating hierarchical categories with django-treebeard recipe earlier in this chapter. Also, make sure that the static files for django-treebeard are available to your project:
(env)$ python manage.py collectstatic