*** Credits ***
This project is directly based on those projects:
* Alex Gaynor
* https://github.com/alex/django-taggit
* Ludwik Trammer:
* http://code.google.com/p/django-tagging-autocomplete/
* Jeremy Epstein:
* https://github.com/Jaza/django-taggit-autocomplete
* Flavio Curella:
* https://github.com/fcurella/django-taggit-autocomplete
* Drew Wilson:
* http://code.drewwilson.com/entry/autosuggest-jquery-plugin
*** 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.
*** 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'.
This project is directly based on those projects:
* Alex Gaynor
* https://github.com/alex/django-taggit
* Ludwik Trammer:
* http://code.google.com/p/django-tagging-autocomplete/
* Jeremy Epstein:
* https://github.com/Jaza/django-taggit-autocomplete
* Flavio Curella:
* https://github.com/fcurella/django-taggit-autocomplete
* Drew Wilson:
* http://code.drewwilson.com/entry/autosuggest-jquery-plugin
*** 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.
*** 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'.
Metadata
Release files for django-taggit-autosuggest 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-taggit-autosuggest-0.2.1.tar.gz | 10.6 kB | Details |
Release files / django-taggit-autosuggest-0.2.1.tar.gz
| Download URL | django-taggit-autosuggest-0.2.1.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
33497a9ff615c1f174698fe4dd2ad5cf4c9c84319691ff7fb30b7d1b94d1e18b
|
|
BLAKE2b-256 checksum How to use checksums |
7163f79f80e4afae102df88df2e2e47703b4e6cb21e289e22055a3cd86051541
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |