Official releases are available from PyPI. You can install it using the pip:
pip install django-mptt
You can also download the .zip distribution file and unpack it. Inside is a script
setup.py. Enter this command:
python setup.py install
…and the package will install automatically.
Alternatively, you can get the latest source from our git repository:
git clone git://github.com/django-mptt/django-mptt.git django-mptt
Add the resulting folder to your PYTHONPATH or symlink the
inside it into a directory which is on your PYTHONPATH, such as your Python
You can verify that the application is available on your PYTHONPATH by opening a Python interpreter and entering the following commands:
>>> import mptt >>> mptt.VERSION (0, 5, '+dev')
When you want to update your copy of the source code, run
from within the
The development version may contain bugs which are not present in the release version and introduce backwards-incompatible changes.
If you’re tracking master, keep an eye on the recent Commit History before you update your copy of the source code.