Scripts posted recently tagged to templatetag in Kelpi

1- 2 of 2.

template tag to build a dictionary parsing an string

to django python exif templatetag by nando.quintana

@register.tag(name="print_exif")
def do_print_exif(parser, token):
    try:
        tag_name, exif = token.contents.split()
    except ValueError:

Custom template tag to print a link instead of a date string

to template tag templatetag django python by nando.quintana

from django import template
register = template.Library()
@register.tag(name="link_to_date")
def do_link_to_date(parser, token):
    try:
hits counter