semvec/pypi-packages huggingface dataset:
django-simple-category 1.0.0
A simple and extendable hierarchical category app for django.
License: BSD-3-Clause

# Django Simple Category

> A simple django category libaray

This simple libaray provide an abstract Category class for django whitch does not need MPTT support.

## Feature overview

- Abstract Category class

## Install

```shell
    pip install django-simple-category
```

## Usage

1. Add "simple-category" to your INSTALLED_APPS setting like this:

    ```python
    INSTALLED_APPS = [
        'category',
    ]
    ```

2. Inherit from the Category class like this:

    ```python
    from simple_category.models import Category

    class MyCategory(Category):
        pass
    ```

3. Run migrations to create your category models.

    ```shell
    python manage.py makemigrations
    python manage.py migrate
    ```