Bases: django.template.Node
Bases: django.template.Node
Bases: django.template.Node
Bases: django.template.Node
Bases: django.template.Node
display the pagesize selection boxes for paginator
custom paginator tag Inspired from http://blog.localkinegrinds.com/2007/09/06/digg-style-pagination-in-django/
Creates an <img> for a user’s Gravatar with a given size.
This tag can accept a User object, or a dict containing the appropriate values.
usage {% ifmany item1 item2 item3 ... itemN %} stuff {% endifmany %} returns content included into the tag if more than one item evaluates to Tru’ish value - that’s the idea {% else %} is not supported yet
contributor_type: original_author|last_updater
returns colorized counter widget for a question
Changed in version 0.6.6: switched from inclusion tag style to in-code template string for the better speed of the front page rendering
do a logarithmic mapping calcuation for a proper size for tagging cloud Algorithm from http://blogs.dekoh.com/dev/2007/10/29/choosing-a-good-font-size-variation-algorithm-for-your-tag-cloud/