Skip to main content

Ready-built Django managers and models for PostgreSQL trees

Project description

https://badge.fury.io/py/django-ltree-utils.svg https://travis-ci.org/john-parton/django-ltree-utils.svg?branch=master https://codecov.io/gh/john-parton/django-ltree-utils/branch/master/graph/badge.svg

Your project description goes here

Documentation

The full documentation is at https://django-ltree-utils.readthedocs.io.

Quickstart

Install django-ltree-utils:

pip install django-ltree-utils

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'django_ltree_utils.apps.DjangoLtreeUtilsConfig',
    ...
)

Add django-ltree-utils’s URL patterns:

from django_ltree_utils import urls as django_ltree_utils_urls


urlpatterns = [
    ...
    url(r'^', include(django_ltree_utils_urls)),
    ...
]

Features

  • TODO

Running Tests

You need to have a reasonably updated version of PostgreSQL listening on port 5444. You can use docker-compose <https://docs.docker.com/compose/> to start a server

docker-compose up

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install -r requirements.txt -r requirements_test.txt --upgrade
(myenv) $ ./runtests.py

Development commands

pip install -r requirements_dev.txt
invoke -l

Credits

Tools used in rendering this package:

History

0.1.0 (2021-03-29)

  • First release on PyPI.

Project details


Download files

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

Source Distribution

django-ltree-utils-0.1.7.tar.gz (26.3 kB view hashes)

Uploaded Source

Built Distribution

django_ltree_utils-0.1.7-py2.py3-none-any.whl (18.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page