ErlyDTL 0.7.0 is available

21 views
Skip to first unread message

Evan Miller

unread,
Mar 21, 2011, 1:36:45 PM3/21/11
to ErlyDTL Users
ErlyDTL 0.7.0 implements 100% of Django filters and several new tags.

Download: http://code.google.com/p/erlydtl/downloads/list

Changes:

* Feature: Boolean operators in "if" tags.
* Feature: {% empty %} block in for loops
* Feature: translation funs support run-time translation
* Feature: "only" and "with" keywords in "include" tag
* Feature: ISO-8601 date formatting
* Feature: single-argument form of "date" filter
* Feature: pass in a helper module to process custom tags
* Feature: compile a directory of templates into a helper module

* Bugfix: escapejs uses \u syntax

* New tags:
+ filter
+ spaceless
+ ssi
+ templatetag
+ widthratio
+ with

* New filters (most of these thanks to Drew Gulino)
+ addslashes
+ cut
+ default
+ dictsort
+ dictsortreversed
+ divisibleby
+ filesizeformat
+ floatformat
+ get_digit
+ iriencode
+ linebreaks
+ linenumbers
+ makelist
+ phone2numeric
+ pluralize
+ random
+ random_num
+ random_range
+ removetags
+ safe
+ safeseq
+ slice
+ slugify
+ stringformat
+ striptags
+ time
+ timesince
+ timeuntil
+ title
+ truncatewords_html
+ unordered_list
+ urlize
+ urlizetrunc
+ wordcount
+ wordwrap
+ yesno

Drew Gulino

unread,
Mar 21, 2011, 11:34:35 PM3/21/11
to erlydt...@googlegroups.com
Ok to announce this on the trapexit forum? You want to instead?

Drew Gulino

Evan Miller

unread,
Mar 22, 2011, 12:20:36 AM3/22/11
to erlydt...@googlegroups.com
Do people use trapexit? I was thinking I'd just send a note to erlang-questions.

--
Evan Miller
http://www.evanmiller.org/

Reply all
Reply to author
Forward
0 new messages