Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Tag cloud for django-taggit.

Project Description
=========
Tag tools
=========

This currently provides a tag cloud generator for django-taggit.

Optional settings
-----------------

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': YourTaggedModel,
'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
Release History

Release History

This version
History Node

0.2.0

History Node

0.2.0-alpha

History Node

0.1.2

History Node

0.1.1

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_tag_tools-0.2.0-py2.py3-none-any.whl (7.1 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Dec 28, 2015
django-tag-tools-0.2.0.tar.gz (4.2 kB) Copy SHA256 Checksum SHA256 Source Dec 28, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting