skip to navigation
skip to content

django-taggit-labels 0.1.0

Alternate labels for django-taggit

Latest Version: 0.5.1

Label widget(s) for django-taggit.

Now instead of this:

You can use this:


This is a widget for use in the Django admin interface, and it depends on Django’s namespaced jQuery. It allows you to add and remove tags by selecting or deselecting visual labels.

The label widget does not expose the input field so that you can add new tags. The base label widget instead shows all available tags and lets you pick between them in Django’s admin interface. It presumes that you are using a managed (or ‘curated’ if you’re feeling insufferable) tag list.


Install django-taggit-labels:

pip install django-taggit-labels

Add taggit_labels to your project:


Use the label widget:

from taggit_labels.widgets import LabelWidget

class ContentForm(forms.ModelForm):
    tags = TagField(required=False, LabelWidget)

You can use the widget with your own tag model, too:

from taggit_labels.widgets import LabelWidget

class ContentForm(forms.Form):
    tags = TagField(required=False, LabelWidget(model=MyTag))

The tag model from taggit will be presumed if you do not specify a tag model.


0.1.0 (2014-06-07)

  • First release on PyPI.
File Type Py Version Uploaded on Size
django-taggit-labels-0.1.0.tar.gz (md5) Source 2014-06-07 6KB