Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install django-taggit

How to install django-taggit

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install django-taggit
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.9.3
0.10Never BuiltWhy not?
0.9.3 Available View build log
0.9.2 Available View build log
0.9.1 Available View build log
0.9.0 Available View build log
0.8.0 Available View build log
Windows (64-bit)
0.9.3
0.10Never BuiltWhy not?
0.9.3 Available View build log
0.9.2 Available View build log
0.9.1 Available View build log
0.9.0 Available View build log
0.8.0 Available View build log
Mac OS X (10.5+)
0.10a1
0.10Never BuiltWhy not?
0.10a1 Available View build log
0.9.3 Available View build log
0.9.2 Available View build log
0.9.1 Available View build log
0.9.0 Available View build log
0.8.0 Available View build log
Linux (32-bit)
0.10a1
0.10Never BuiltWhy not?
0.10a1 Available View build log
0.9.3 Available View build log
0.9.2 Available View build log
0.9.1 Available View build log
0.9.0 Available View build log
0.8.0 Available View build log
Linux (64-bit)
0.10 Available View build log
0.10a1 Available View build log
0.9.3 Available View build log
0.9.2 Available View build log
0.9.1 Available View build log
0.9.0 Available View build log
0.8.0 Available View build log
0.10 Available View build log
 
Author
License
BSD
Lastest release
version 0.10 on Aug 23rd, 2013

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 checkout out the documentation. And for questions about usage or development you can contact the mailinglist.

Subscribe to package updates

Last updated Aug 23rd, 2013

Download Stats

Last month:6

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.