cms.contrib.keywords.templatetags package

Submodules

cms.contrib.keywords.templatetags.keywords_tags module

cms.contrib.keywords.templatetags.keywords_tags.get_cloud(keywords)
cms.contrib.keywords.templatetags.keywords_tags.keywords_for(item=None, **kwargs)

Return a list of Keyword objects for the given model instance or a model class. In the case of a model class, retrieve all keywords for all instances of the model and apply a weight attribute that can be used to create a tag cloud.

Module contents