Django categorize content app.
Python HTML
Latest commit 6005350 May 23, 2017 @ruands ruands Merge tag '1.11.0' into develop
Python 3.5 and Django 1.11 compatibility


Django Category

Simple category app providing category and tag models.



  1. Install or add django-category to your Python path.
  2. Add category to your INSTALLED_APPS setting.
  3. If you are on Django < 1.7 then add south to your INSTALLED_APPS setting.
  4. Optional: django-object-tools provides a category tree view. See for installation instructions.


Enable categorization and/or tagging on a model by creating ManyToMany fields to the models provided by django-category, for example:

from django import models

class MyModel(models.Model):
    categories = models.ManyToManyField(
        help_text='Categorize this item.'
    tags = models.ManyToManyField(
        help_text='Tag this item.'


class Category

Category model to be used for categorization of content. Categories are high level constructs to be used for grouping and organizing content, thus creating a site's table of contents.


Short descriptive title for the category to be used for display.


Some titles may be the same and cause confusion in admin UI. A subtitle makes a distinction.


Short descriptive unique name to be used in urls.


Optional parent to allow nesting of categories.


Limits category scope to selected sites.

class Tag

Tag model to be used for tagging content. Tags are to be used to describe your content in more detail, in essence providing keywords associated with your content. Tags can also be seen as micro-categorization of a site's content.


Short descriptive name for the tag to be used for display.


Short descriptive unique name to be used in urls.


Categories to which the tag belongs.