---
title: "django-taggit | pypx"
description: "django-taggit is a reusable Django application for simple tagging."
canonical_url: "https://pypx.app/packages/django-taggit"
meta:
  "og:description": "django-taggit is a reusable Django application for simple tagging."
  "og:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_django-taggit%2Cversion_7.0.0%2Csummary_django-taggit%2Bis%2Ba%2Breusable%2BDjango%2Bapplication%2Bfor%2Bsimple%2Btagging.%2Clicense_BSD%2BLicense%2Cp_Ii9wYWNrYWdlcy9kamFuZ28tdGFnZ2l0Ig%2Cs_8h8fg1SE7jheHCgE.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "django-taggit 7.0.0"
  "twitter:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_django-taggit%2Cversion_7.0.0%2Csummary_django-taggit%2Bis%2Ba%2Breusable%2BDjango%2Bapplication%2Bfor%2Bsimple%2Btagging.%2Clicense_BSD%2BLicense%2Cp_Ii9wYWNrYWdlcy9kamFuZ28tdGFnZ2l0Ig%2Cs_8h8fg1SE7jheHCgE.png"
---

> Index of every page on this site: [llms.txt](https://pypx.app/llms.txt)

# **django-taggit**

v7.0.0

django-taggit is a reusable Django application for simple tagging.

65 KB Python 3.10+ py3-none-anyBSD License1 deps

[** Diff **](https://pypx.app/packages/django-taggit/diff)

`$ uv add django-taggit`

# django-taggit

![Jazzband](https://jazzband.co/static/img/badge.svg) ![Supported Python versions](https://img.shields.io/pypi/pyversions/django-taggit.svg) ![Supported Django versions](https://img.shields.io/pypi/djversions/django-taggit.svg) ![GitHub Actions](https://github.com/jazzband/django-taggit/workflows/Test/badge.svg)

This is a [Jazzband](https://jazzband.co) project. By contributing you agree to abide by the [Contributor Code of Conduct](https://jazzband.co/about/conduct) and follow the [guidelines](https://jazzband.co/about/guidelines).

django-taggit a simpler approach to tagging with Django. Add "taggit" to your INSTALLED\_APPS then just add a TaggableManager to your model and go:

```python
from django.db import models

from taggit.managers import TaggableManager


class Food(models.Model):
    # ... fields here

    tags = TaggableManager()
```

Then you can use the API like so:

```pycon
>>> apple = Food.objects.create(name="apple")
>>> apple.tags.add("red", "green", "delicious")
>>> apple.tags.all()
[<Tag: red>, <Tag: green>, <Tag: delicious>]
>>> apple.tags.remove("green")
>>> apple.tags.all()
[<Tag: red>, <Tag: delicious>]
>>> Food.objects.filter(tags__name__in=["red"])
[<Food: apple>, <Food: cherry>]
```

Tags will show up for you automatically in forms and the admin.

django-taggit requires Django 5.2 or greater.

For more info check out the [documentation](https://django-taggit.readthedocs.io/). And for questions about usage or development you can create an issue on Github (if your question is about usage please add the `question` tag).

## **Details **

<dl>

<dt>Version</dt>
<dd>7.0.0</dd>

<dt>License</dt>
<dd>BSD License</dd>

<dt>Python</dt>
<dd>&gt;=3.10</dd>

<dt>Maintainer</dt>
<dd>Alex Gaynor</dd></dl>

## **Links**

- [Documentation](https://django-taggit.readthedocs.io)
- [Homepage](https://github.com/jazzband/django-taggit)
- [Source](https://github.com/jazzband/django-taggit)
- [Tracker](https://github.com/jazzband/django-taggit/issues)
- [View on PyPI](https://pypi.org/project/django-taggit/)

## **Release Cadence **

**1**

releases in the past year

avg 88 days between releases

## **Maintainers **

- Alex Gaynor · [alex.gaynor@gmail.com](mailto:alex.gaynor@gmail.com)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://pypx.app/#website","@type":"WebSite","description":"The Python Package Index, reimagined. Fast search, dependency insights, download trends, and changelogs — all in one place.","name":"pypx","url":"https://pypx.app/"},{"@id":"https://pypx.app/packages/django-taggit#webpage","@type":"WebPage","description":"django-taggit is a reusable Django application for simple tagging.","name":"django-taggit","url":"https://pypx.app/packages/django-taggit","isPartOf":{"@id":"https://pypx.app/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://pypx.app/packages/django-taggit"]}]},{"@id":"https://pypx.app/packages/django-taggit#/schema/software-application/1","@type":"SoftwareApplication","applicationCategory":"DeveloperApplication","description":"django-taggit is a reusable Django application for simple tagging.","license":"BSD License","name":"django-taggit","softwareVersion":"7.0.0"}]}
```

## Sitemap

See the full [sitemap](https://pypx.app/sitemap.md) for all pages.
