- Read on Tuesday, June 2, 2009
-
-
Sometimes Tag
Show part A or part B by chance. Can be useful (replace elements by ads, etc).
Visit
-
Sometimes Tag
- Read on Friday, March 6, 2009
-
-
Smart {% if %} template tag
Save this as smart_if.py in the templatetags folder of one of your apps. Then a simple {% load smartif %} replaces the boring built-in Django {% if %} template with the new smart one.
Visit
-
Smart {% if %} template tag
- Read on Wednesday, October 15, 2008
-
-
Better paginator template tag
Pagination for django, which works with all querysets.
Visit
-
Better paginator template tag
- Read on Tuesday, July 8, 2008
-
-
Last.fm Charts
This will fetch the Top Artists List for the given username from Last.fm.
Visit
-
Last.fm Charts
- Read on Tuesday, June 3, 2008
-
-
Template tag to dump database query info
The {%dbinfo%} tag returns a string with the # of database queries and aggregate DB time. The {%dbquerylist%} tag expands to a set of LI elements containing the actual SQL queries executed.
Visit -
ExprTag - Calculating python expression and saving the result to a variable
This tag can be used to calculate a python expression, and save it into a template variable which you can reuse later or directly output to template.
Visit -
PyIf Template Tag (Conditional Tag)
This is an adaptation/enhancement to Django's built in IfNode {% if ... %} that combines if ifequal ifnotequal into one and then adds even more.
Visit
-
Template tag to dump database query info
- Read on Tuesday, May 6, 2008
-
-
Django Master Class
Amazing django information on Unit testing, middleware, signals, forms & ajax, template tags, custom fields, openID and REST
Visit
-
Django Master Class

