django-taggit 0.17.0

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

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:

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:

>>> 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 1.4.5 or greater.

For more info check out the documentation. And for questions about usage or development you can contact the mailinglist.

BSD

Author

Alex Gaynor

Pip

django-taggit==0.17.0

Classifiers

  • Development Status :: 5 - Production/Stable
  • Environment :: Web Environment
  • Framework :: Django
  • Intended Audience :: Developers
  • Operating System :: OS Independent
  • Programming Language :: Python
  • Programming Language :: Python :: 2.6
  • Programming Language :: Python :: 2.7
  • Programming Language :: Python :: 3.2
  • Programming Language :: Python :: 3.3
  • Programming Language :: Python :: 3.4
  • License :: OSI Approved :: BSD License
File Type Python Version Uploaded On Downloads
django_taggit-0.17.0-py2.py3-none-any.whl Wheel 2.7 Aug. 14, 2015 2,225
django-taggit-0.17.0.tar.gz Source Aug. 14, 2015 216
Version Release Date
0.17.0 Aug. 14, 2015
0.16.4 Aug. 13, 2015
0.16.3 Aug. 8, 2015
0.16.2 July 13, 2015
0.16.1 July 8, 2015
0.16.0 July 4, 2015
0.15.0 June 24, 2015
0.14.0 April 26, 2015
0.13.0 April 3, 2015
0.12.3 March 4, 2015
0.12.2 Sept. 21, 2014
0.12.1 Aug. 10, 2014
0.12 April 20, 2014
0.11.2 Dec. 13, 2013
0.11.1 Nov. 25, 2013
0.11 Nov. 25, 2013
0.10 Aug. 17, 2013
0.10a1 March 25, 2013
0.9.3 March 15, 2011
0.9.2 Jan. 17, 2011
0.9.1 Sept. 25, 2010
0.9.0 Sept. 21, 2010
0.8.0 June 21, 2010
0.6.0 May 8, 2010
0.4.0 April 25, 2010
0.2.0 March 21, 2010
Date Package Version Action
Aug. 26, 2015, 12:28 a.m. django-taggit 0.12 Release Created
Aug. 26, 2015, 12:28 a.m. django-taggit 0.10 Release Created
Aug. 26, 2015, 12:28 a.m. django-taggit 0.11 Release Created
Aug. 26, 2015, 12:28 a.m. django-taggit 0.8.0 Release Created
Aug. 26, 2015, 12:28 a.m. django-taggit 0.14.0 Release Created
Aug. 26, 2015, 12:28 a.m. django-taggit 0.9.3 Release Created
Aug. 26, 2015, 12:28 a.m. django-taggit 0.9.2 Release Created
Aug. 26, 2015, 12:28 a.m. django-taggit 0.10a1 Release Created
Aug. 26, 2015, 12:28 a.m. django-taggit 0.15.0 Release Created
Aug. 26, 2015, 12:28 a.m. django-taggit 0.13.0 Release Created
Aug. 26, 2015, 12:28 a.m. django-taggit 0.4.0 Release Created
Aug. 26, 2015, 12:28 a.m. django-taggit 0.16.0 Release Created
Aug. 26, 2015, 12:28 a.m. django-taggit 0.16.1 Release Created
Aug. 26, 2015, 12:28 a.m. django-taggit 0.16.2 Release Created
Aug. 26, 2015, 12:28 a.m. django-taggit 0.16.3 Release Created
Aug. 26, 2015, 12:28 a.m. django-taggit 0.16.4 Release Created
Aug. 26, 2015, 12:28 a.m. django-taggit 0.12.1 Release Created
Aug. 26, 2015, 12:28 a.m. django-taggit 0.12.2 Release Created
Aug. 26, 2015, 12:28 a.m. django-taggit 0.12.3 Release Created
Aug. 26, 2015, 12:28 a.m. django-taggit 0.11.2 Release Created
Aug. 26, 2015, 12:28 a.m. django-taggit 0.11.1 Release Created
Aug. 26, 2015, 12:28 a.m. django-taggit 0.6.0 Release Created
Aug. 26, 2015, 12:28 a.m. django-taggit 0.17.0 Release Created
Aug. 26, 2015, 12:28 a.m. django-taggit 0.2.0 Release Created
Aug. 26, 2015, 12:28 a.m. django-taggit 0.9.1 Release Created
Aug. 26, 2015, 12:28 a.m. django-taggit 0.9.0 Release Created
Aug. 26, 2015, 12:28 a.m. django-taggit Package Created