project/kiwipycon/talk/templatetags/talk_extras.py
author Madhusudan.C.S <madhusudancs@gmail.com>
Fri, 30 Oct 2009 15:09:12 +0530
changeset 1 fda1c66b25f9
permissions -rw-r--r--
Added all the files from kiwipycon and the changes made for SciPy.in.

from django import template

register = template.Library()

def choice(choices, value):
    return choices[value]

register.filter('choice', choice)