django-templatetag-sugarA library to make Django's template tags sweet | |
Download |
django-templatetag-sugar Ranking & Summary
Advertisement
django-templatetag-sugar Tags
django-templatetag-sugar Description
A library to make Django's template tags sweet django-templatetag-sugar is a library to make writing template tags in Django sweet.Here's an example of using:@tag(register, )]):def example_tag(context, val, asvar=None): if asvar: context = val return "" else: return valAs you can see it makes it super simple to define the syntax for a tag. Requirements: · Python · Django
django-templatetag-sugar Related Software