About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
See full specifications

linux default icondjango-templatetag-sugar Publisher's 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, [Constant("for"), Variable(), Optional([Constant("as"), Name()])]):
def example_tag(context, val, asvar=None):
if asvar:
context[asvar] = val
return ""
return val

As you can see it makes it super simple to define the syntax for a tag.


System Requirements:

В· Python
В· Django
Program Release Status:
Program Install Support: Install and Uninstall

Is django-templatetag-sugar your software?

Manage your software

Most Popular

linux default icon Psiphon 2.5
At Psiphon we are committed to an open and accessible Internet.
linux default icon iPad forums 20101002
Only forums, only iPad
linux default icon Webalizer Xtended 2.23-05 RB29
Webalizer Xtended is a fork of Webalizer External link (a server log file analysis program)......
linux default icon JAWStats 0.7 Beta
A Free Web Site Statistics tool
linux default icon Phzilla (formerly PhProxy - InBasic) 3.5.1A
Allows you to open block pages automatically using web Proxy