1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= python-django-taggit
7 SDESC[py310]= Reusable Django app for simple tagging (3.10)
8 SDESC[py311]= Reusable Django app for simple tagging (3.11)
9 HOMEPAGE= https://github.com/jazzband/django-taggit
10 CONTACT= Python_Automaton[python@ironwolf.systems]
13 SITES[main]= PYPIWHL/d5/73/ed9e158f7dd52a31ab83c6d8bf083478d859dd8a64f72ebcdd4b3c8ccbfa
14 DISTFILE[1]= django_taggit-3.1.0-py3-none-any.whl:main
19 OPTIONS_AVAILABLE= PY310 PY311
20 OPTIONS_STANDARD= none
21 VOPTS[py310]= PY310=ON PY311=OFF
22 VOPTS[py311]= PY310=OFF PY311=ON
24 DISTNAME= django_taggit-3.1.0.dist-info
28 [PY310].RUN_DEPENDS_ON= python-Django:single:py310
29 [PY310].USES_ON= python:py310,wheel
31 [PY311].RUN_DEPENDS_ON= python-Django:single:py311
32 [PY311].USES_ON= python:py311,wheel
34 [FILE:1346:descriptions/desc.single]
40 :alt: Supported Python versions
42 :alt: Supported Django versions
46 This is a [Jazzband] project. By contributing you agree
47 to abide by the [Contributor Code of Conduct
48 ] and follow the [guidelines
51 ``django-taggit`` a simpler approach to tagging with Django. Add
53 INSTALLED_APPS`` then just add a TaggableManager to your model and go:
57 from django.db import models
59 from taggit.managers import TaggableManager
61 class Food(models.Model):
64 tags = TaggableManager()
66 Then you can use the API like so:
70 >>> apple = Food.objects.create(name="apple")
71 >>> apple.tags.add("red", "green", "delicious")
73 [<Tag: red>, <Tag: green>, <Tag: delicious>]
74 >>> apple.tags.remove("green")
76 [<Tag: red>, <Tag: delicious>]
77 >>> Food.objects.filter(tags__name__in=["red"])
78 [<Food: apple>, <Food: cherry>]
80 Tags will show up for you automatically in forms and the admin.
82 ``django-taggit`` requires Django 3.2 or greater.
84 For more info check out the [documentation
85 ]. And for questions about usage or
86 development you can create an issue on Github (if your question is about
87 usage please add the `question` tag).
91 543218ac346fbe02a65733e0341c91b57a3e0f7a41568966b26f1cea9edc4805 60199 django_taggit-3.1.0-py3-none-any.whl