Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A django that implements in a model the ltree postgres extension

Project description

django-ltree

An ltree extension implementation to support hierarchical tree-like data in django models

Postgresql has already a optimized and very useful tree implementation for data. The extension is ltree

Links

PyPI version

Install

pip install django-ltree

Then add django_ltree to INSTALLED_APPS in your Django project settings.

And make sure to run django_ltree migrations before you added the PathField

python manage.py migrate django_ltree

This will install the ltree extension

Requires:

  • Django 2.0 or superior
  • Python 3.6 or superior

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-ltree, version 0.4
Filename, size File type Python version Upload date Hashes
Filename, size django_ltree-0.4-py2.py3-none-any.whl (6.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page