Skip to main content

Django-rest-framework API for django-categories

Project description

Django Categories

codecov Run Tox tests Run Tox tests

This application provides basic django-rest-framework API for Django Categories.

Features of the project

The output contains category tree with counts of category items in each node (cummulative as well as direct counts).

Countable fields

The API can contain number of related objects associatet with category. This can be achieved by setting COUNTABLE_FIELD_RELATED_NAMES property in CATEGORIES_SETTINGS:

  CATEGORIES_SETTINGS = {
      "COUNTABLE_FIELD_RELATED_NAMES": ('field_name'),
  }

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-categories-api-0.0.2.tar.gz (38.8 kB view hashes)

Uploaded Source

Built Distribution

django_categories_api-0.0.2-py2.py3-none-any.whl (11.8 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