Pre-release
This release is a pre-release and may not be stable for production use.
=========
Tag tools
=========
This currently provides a tag cloud generator for django-tagging and
django-taggit.
Optional settings
-----------------
TAGTOOLS_PREFERRED_APP_ORDER
If TAGTOOLS_TAG_APP is not set, it will attempt to import the
tag-apps in the order defined here. **Default:** ('taggit', 'tagging')
TAGTOOLS_TAG_APP
Force what app to use. **Default:** pick first found entry in
TAGTOOLS_PREFERRED_APP_ORDER
TAGTOOLS_CLOUD_STEPS
How many different sizes of tags for the cloud. **Default:** 6
TAGTOOLS_CLOUD_MIN_COUNT
Minimum frequency of a tag before it is included. **Default:** 1
Usage
-----
There's a view ``tagged_object_list`` if you want to devote an entire
page to a tag-cloud. In your url-conf:
tags_dict= {
'queryset_or_model': YorTaggedModel,
'template_name': 'sometemplate.html',
}
urlpatterns = patterns('tagtools.views',
(r'^tag/(?P<tag>[-\w\d]+)/$', 'tagged_object_list', tags_dict),
)
You can generate lists of tags in a view with the function
``tagtools.get_tagcloud_for_model``.
You can set tags for a model with ``tagtools.set_tags_for_model``.
:Version: 0.2.0-alpha
Tag tools
=========
This currently provides a tag cloud generator for django-tagging and
django-taggit.
Optional settings
-----------------
TAGTOOLS_PREFERRED_APP_ORDER
If TAGTOOLS_TAG_APP is not set, it will attempt to import the
tag-apps in the order defined here. **Default:** ('taggit', 'tagging')
TAGTOOLS_TAG_APP
Force what app to use. **Default:** pick first found entry in
TAGTOOLS_PREFERRED_APP_ORDER
TAGTOOLS_CLOUD_STEPS
How many different sizes of tags for the cloud. **Default:** 6
TAGTOOLS_CLOUD_MIN_COUNT
Minimum frequency of a tag before it is included. **Default:** 1
Usage
-----
There's a view ``tagged_object_list`` if you want to devote an entire
page to a tag-cloud. In your url-conf:
tags_dict= {
'queryset_or_model': YorTaggedModel,
'template_name': 'sometemplate.html',
}
urlpatterns = patterns('tagtools.views',
(r'^tag/(?P<tag>[-\w\d]+)/$', 'tagged_object_list', tags_dict),
)
You can generate lists of tags in a view with the function
``tagtools.get_tagcloud_for_model``.
You can set tags for a model with ``tagtools.set_tags_for_model``.
:Version: 0.2.0-alpha
Metadata
Release files for django-tag-tools 0.2.0-alpha
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-tag-tools-0.2.0-alpha.tar.gz | 7.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_tag_tools-0.2.0_alpha-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 22.5 kB
Release files / django-tag-tools-0.2.0-alpha.tar.gz
| Download URL | django-tag-tools-0.2.0-alpha.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc37df7ae6fef24188a447540eb16baf9bbc918f9925ba583744b028534b1896
|
|
BLAKE2b-256 checksum How to use checksums |
350ec6db8052566f34f029cd3af1e3f0b126689c145fe62b0f9cde7774573c95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django_tag_tools-0.2.0_alpha-py2-none-any.whl
| Download URL | django_tag_tools-0.2.0_alpha-py2-none-any.whl |
|---|---|
| Size | 14.8 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
05324afd53dff404d7f6e0159979d1d7a2a8eb859536836d6dcedede59d2202b
|
|
BLAKE2b-256 checksum How to use checksums |
377b1092f56e8642aa4016396aa9e1e2334b5af32b315ae0bf071b649680086e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |