Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Autocomplete for django-taggit

branch: master

initial commit

latest commit b46f96bf01
Jeremy Epstein authored
Octocat-spinner-32 taggit_autocomplete initial commit June 10, 2010
Octocat-spinner-32 README.txt initial commit June 10, 2010
Octocat-spinner-32 setup.py initial commit June 10, 2010
README.txt
This is a fork of django-tagging-autocomplete, which can be found at:
http://code.google.com/p/django-tagging-autocomplete/

It's virtually the same app, only it's changed to work with django-taggit:
http://github.com/alex/django-taggit

*** Installation ***

   1. You need to have django-taggit already installed
   2. Download django-taggit-autocomplete and use setup.py to install it on your system:
		python setup.py install
   3. Download jquery-autocomplete and put it in the folder specified in your project's MEDIA_URL setting. If you want to put it somewhere else add TAGGIT_AUTOCOMPLETE_JS_BASE_URL to your project settings.
   4. Add "taggit_autocomplete" to installed apps in your project's settings.
   5. Add the following line to your project's urls.py file:

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

*** Usage ***
** Using the model field **

You can use TaggableManager to enable autocompletion right in your models.py file. In most cases this is the easiest solution. Example:

from django.db import models
from taggit_autocomplete.managers import TaggableManager

class SomeModel(models.Model):
        tags = TaggableManager()
Something went wrong with that request. Please try again.