django-tagging-autocomplete 0.4.2

Autocompletion for django-tagging

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

Requirements

  • django-tagging

Setup

  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 urls.py file:

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

Usage

The Model Field

You can use TagAutocompleteField() to enable autocompletion right in your models.py. 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())

Author

Ludwik Trammer

Pip

django-tagging-autocomplete==0.4.2

Classifiers

  • Programming Language :: Python
  • Operating System :: OS Independent
  • License :: OSI Approved :: MIT License
  • Intended Audience :: Developers
  • Framework :: Django
  • Environment :: Web Environment
  • Development Status :: 4 - Beta
File Type Python Version Uploaded On Downloads
django-tagging-autocomplete-0.4.2.tar.gz Source July 7, 2014 842
Version Release Date
0.4.2 July 7, 2014
0.4.1 July 7, 2014
0.4 June 20, 2014
0.3.1 Jan. 3, 2010
Date Package Version Action
Nov. 4, 2014, 1:55 p.m. django-tagging-autocomplete 0.4 Release Created
Nov. 4, 2014, 1:55 p.m. django-tagging-autocomplete 0.4.2 Release Created
Nov. 4, 2014, 1:55 p.m. django-tagging-autocomplete 0.3.1 Release Created
Nov. 4, 2014, 1:55 p.m. django-tagging-autocomplete 0.4.1 Release Created
Nov. 4, 2014, 1:55 p.m. django-tagging-autocomplete Package Created