Optionalconstantquotasquot freeware
Optionalconstantquotasquot
Added: June 14, 2013 | Visits: 379
django-templatetag-sugar is a library to make writing template tags in Django sweet. Here's an example of using: @tag(register, [Constant("for"), Variable(), Optional([Constant("as"), Name()])]): def example_tag(context, val, asvar=None): if asvar: context[asvar] = val return "" else:...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (33): django-templatetag-sugar Download |