jazzband

django-taggit: Add Tagging to Django Models

django-taggit is a Django library for attaching and managing tags on model instances. It suits Django applications that need reusable tags, queryable relationships, and integration with forms and the admin.

View on GitHub Compare
Stars
3.4k
Forks
635
Stars, last 30 days
-4

Our take

Health score

38/100

How it is scored
Activity
19
Community
93
Issues
21
Pull requests
20

-4 stars in the last 30 days

  • More contributors than 78% of the projects we track

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

3,443

Forks

636

Change since Nov 15, 2026: 0 stars·0 forks

Overview

django-taggit adds tagging to Django models through a manager that lets applications associate tags with records and work with those tags through Django’s model API. It provides a reusable alternative to building tag storage and management separately for each model.

It is intended for developers building Django applications that need to categorize or filter content by user-managed labels. Tags can be queried alongside related model records, and the project integrates them into forms and the Django admin.

Key Features

  • Add tagging to a model with TaggableManager.
  • Add and remove tags on individual model instances.
  • Retrieve a model’s associated tags through the manager API.
  • Filter model querysets by tag names.
  • Make tags available in forms and the Django admin.
  • Reuse the library across models in a Django application.

Use Cases

  • A content site can let editors label articles and filter listings by those labels.
  • A catalog application can group products by descriptive tags without relying only on fixed categories.
  • A user-generated content service can let people organize posts or other records with tags.
  • Django developers can add tagging to an existing model when a custom tagging implementation would be unnecessary overhead.

Getting Started

Install the package with pip install django-taggit, add taggit to INSTALLED_APPS, and define a TaggableManager on the model you want to tag. See the README and documentation for configuration and usage details.

Considerations

The README specifies Django 5.2 or greater, so check compatibility before using it with an older Django project. Tagging is centered on Django models and is not a general-purpose tagging service for applications outside the Django ecosystem.

Found this useful?

Share it with someone who would like django-taggit.