django-taggit-autosuggest

Autosuggestions for django-taggit
Download

django-taggit-autosuggest Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • Fabian Topfstedt
  • Publisher web site:
  • http://code.google.com/u/fabian.topfstedt/

django-taggit-autosuggest Tags


django-taggit-autosuggest Description

django-taggit-autosuggest is a Django app that provides autosuggestions for django-taggit.Installation * Add "taggit_autosuggest" to your INSTALLED_APPS in your project settings * Run "python manage.py collectstatic" in your django site dir. * Add the following line to your project's urls.py file: (r'^taggit_autosuggest/', include('taggit_autosuggest.urls')),Settings TAGGIT_AUTOSUGGEST_STATIC_BASE_URL: Instead of collecting and serving the static files directly, you can also set this variable to your static base URL somewhere else. TAGGIT_AUTOSUGGEST_MAX_SUGGESTIONS (Defaults to 20): 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.UsageTo 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()Product's homepage


django-taggit-autosuggest Related Software