skip to navigation
skip to content

django-taggit-autosuggest 0.2.3

Autosuggestions for django-taggit

Latest Version: 0.3.2

*** Credits ***
This project is directly based on those projects:
* Alex Gaynor
* Ludwik Trammer:
* Jeremy Epstein:
* Flavio Curella:
* Drew Wilson:

*** Installation ***
* Add "taggit_autosuggest" to your INSTALLED_APPS in your project settings
* Run "python collectstatic" in your django site dir.
* Add the following line to your project's file:
(r'^taggit_autosuggest/', include('taggit_autosuggest.urls')),

*** Settings ***
Instead of collecting and serving the static files directly, you can
also set this variable to your static base URL somewhere else.
The amount of suggestions is limited, you can raise or lower the limit
of default 20 using this setting.
TAGGIT_AUTOSUGGEST_CSS_FILENAME (Defaults to 'autoSuggest.css'):
Set the CSS file which best fits your site elements.
The CSS file have to be in 'jquery-autosuggest/css/'.
TAGGIT_AUTOSUGGEST_MODEL (Defaults to tuple('taggit','Tag'))
The Tag model used, if you happen to use Taggit custom tagging.

*** Usage ***
To enable autosuggesting Tags, just let the tagged model use TaggableManager:
from django.db import models
from taggit_autosuggest.managers import TaggableManager

class SomeModel(models.Model):

tags = TaggableManager()

There's a demo project using Grappelli bundled, you can run it and browse
/admin/ using the username 'demo' and password 'demo'.  
File Type Py Version Uploaded on Size
django-taggit-autosuggest-0.2.3.tar.gz (md5) Source 2014-05-06 10KB