Entry 6275
classytags
Submitted by anonymous
on Aug. 19, 2010 at 7:11 p.m.
Language: Python. Code size: 241 bytes.
from classytags.core import Tag from django import template register = template.Library() class HelloWorld(Tag): name = 'hello_world' def render_tag(self, context): return 'hello world' register.tag(HelloWorld)
This snippet took 0.00 seconds to highlight.
Back to the Entry List or Home.