Here are the examples of the python api templatetag_sugar.parser.Parser taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
0
Example 1
def tag(register, syntax, name=None):
def inner(func):
register.tag(name or func.__name__, Parser(syntax, func))
return func
return inner