Simple tag to enable easy parsing of inline code within a template. Usage: {% stylize "language" %}...language text...{% endstylize %}. Make sure to set the language for Pygments to parse as the first argument to the tag. You will also need to include a copy of the CSS that Pygments uses. The [Pygments](http://pygments.org/) library is required for this tag.
In your settings file:
TEMPLATE_TAGS = (
"djutils.templatetags.sqldebug",
)
Make sure load_templatetags() gets called somewhere, for example in your apps __init__.py
*Edit: Updated to work with templatetag libraries that use certain critical django-bits.*
template tag for producing tag clouds for a given model, using django-tagging application:
http://code.google.com/p/django-tagging/
Sample: http://skam.webfactional.com/tags/
Usage:
{% tags_cloud_for_model articles.Article as object_list %}
{% tags_cloud_for_model articles.Article as object_list step 6 %}