django-tag-tools 0.2.0-alpha

Tag cloud for django tagging and django-taggit.
=========
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

Author

kaleissin

Pip

django-tag-tools==0.2.0-alpha

Classifiers

  • Environment :: Web Environment
  • Framework :: Django
  • Intended Audience :: Developers
  • License :: OSI Approved :: MIT License
  • Operating System :: OS Independent
  • Programming Language :: Python
  • Programming Language :: Python :: 3
  • Development Status :: 4 - Beta
  • Topic :: Software Development :: Libraries :: Python Modules
  • Topic :: Software Development :: Libraries :: Application Frameworks
File Type Python Version Uploaded On Downloads
django_tag_tools-0.2.0_alpha-py2-none-any.whl Wheel py2 Sept. 17, 2014 926
django-tag-tools-0.2.0-alpha.tar.gz Source Sept. 17, 2014 1,038
Version Release Date
0.2.0-alpha Sept. 17, 2014
0.1.2 Dec. 2, 2013
0.1.1 Oct. 12, 2013
0.1 Aug. 4, 2013
Date Package Version Action
Aug. 26, 2015, 12:28 a.m. django-tag-tools 0.2.0-alpha Release Created
Aug. 26, 2015, 12:28 a.m. django-tag-tools 0.1.2 Release Created
Aug. 26, 2015, 12:28 a.m. django-tag-tools 0.1.1 Release Created
Aug. 26, 2015, 12:28 a.m. django-tag-tools 0.1 Release Created
Aug. 26, 2015, 12:28 a.m. django-tag-tools Package Created