Skip to content

Latest commit

 

History

History
69 lines (64 loc) · 966 Bytes

filters.md

File metadata and controls

69 lines (64 loc) · 966 Bytes

TODO:

  • What are filters?
  • List+explain all existing filters (pongo2 + pongo2-addons)

Implemented filters so far which needs documentation:

  • escape

  • e (alias of escape)

  • safe

  • escapejs

  • add

  • addslashes

  • capfirst

  • center

  • cut

  • date

  • default

  • default_if_none

  • divisibleby

  • first

  • floatformat

  • get_digit

  • iriencode

  • join

  • last

  • length

  • length_is

  • linebreaks

  • linebreaksbr

  • linenumbers

  • ljust

  • lower

  • make_list

  • phone2numeric

  • pluralize

  • random

  • removetags

  • rjust

  • slice

  • stringformat

  • striptags

  • time

  • title

  • truncatechars

  • truncatechars_html

  • truncatewords

  • truncatewords_html

  • upper

  • urlencode

  • urlize

  • urlizetrunc

  • wordcount

  • wordwrap

  • yesno

  • filesizeformat*

  • slugify*

  • truncatesentences*

  • truncatesentences_html*

  • markdown*

  • intcomma*

  • ordinal*

  • naturalday*

  • timesince*

  • timeuntil*

  • naturaltime*

Filters marked with * are available through pongo2-addons.