To get started, perform the following steps:
- Install django-mptt in your virtual environment using the following command (or add the same to your requirements file and rebuild if using a Docker project):
(myproject_env)$ pip3 install django-mptt~=0.9.1
- Create the movies app if you have not done so already. Add the movies app as well as mptt to INSTALLED_APPS in the settings, as follows:
# settings.py or config/base.py INSTALLED_APPS = ( # ... "mptt",
"movies", )