Package: wnpp Severity: wishlist Owner: Thomas Goirand <z...@debian.org>
* Package name : python-coffin Version : 0.3.8 Upstream Author : Michael Elsdoerfer <mich...@elsdoerfer.info> * URL : http://github.com/coffin/coffin * License : BSD-3-clause Programming Lang: Python Description : Jinja2 adapter for Django Coffin is a Jinja2 adapter for Django. Coffin currently makes the following Django tags available in Jinja: * {% cache %} - has currently an incompatibility: The second argument (the fragment name) needs to be specified with surrounding quotes if it is supposed to be a literal string, according to Jinja2 syntax. It will otherwise be considered an identifer and resolved as a variable. * {% load %} - is actually a no-op in Coffin, since templatetag libraries are always loaded. See also "Custom Filters and extensions". * {% spaceless %} * {% url %} - additionally, a view|url() filter is also available. Or use view|url() for Django 1.5 style lookups by the value of view. * {% with %} * {% csrf_token %} . Django filters that are ported in Coffin: * date * floatformat * pluralize (expects an optional second parameter rather than the comma syntax) * time * timesince * timeuntil * truncatewords * truncatewords_html Note: this package is needed to run the unit tests of python-django-compressor, which I would like to run. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org