skip to navigation
skip to content

Not Logged In

django-tagging-autocomplete 0.5.0

Autocompletion for django-tagging

django-tagging-autocomplete is a jquery based autocomplete solution for django-tagging.


  • django-tagging


  1. Download package and install, for example using pip:

    pip install django-tagging-autocomplete
  2. Add tagging_autocomplete to installed apps in your project’s settings.

  3. Add the following line to your project’s file:

    (r'^tagging_autocomplete/', include('tagging_autocomplete.urls')),


The Model Field

You can use TagAutocompleteField() to enable autocompletion right in your In most cases this is the easiest solution:

from django.db import models
from tagging_autocomplete.models import TagAutocompleteField

class SomeModel(models.Model):
        tags = TagAutocompleteField()

The Form Widget

Alternatively you can use the TagAutocomplete() form widget while creating your form:

from django import forms
from tagging.forms import TagField
from tagging_autocomplete.widgets import TagAutocomplete

class SomeForm(forms.Form):
    tags = TagField(widget=TagAutocomplete())

Optional settings

By default the maximum number of results suggested by the autocompletion is 100. You can modify this number by adding to your project file the TAGGING_AUTOCOMPLETE_MAX_RESULTS constant. For example:


By default autocompletion suggests tags that start with a given term. In case you need to show ones that contain the given term, set TAGGING_AUTOCOMPLETE_SEARCH_CONTAINS to True. For example:

File Type Py Version Uploaded on Size
django-tagging-autocomplete-0.5.0.tar.gz (md5) Source 2015-10-07 51KB
  • Downloads (All Versions):
  • 31 downloads in the last day
  • 251 downloads in the last week
  • 647 downloads in the last month