diff --git a/docs/templates.txt b/docs/templates.txt index e4072b8e44..09431c1dda 100644 --- a/docs/templates.txt +++ b/docs/templates.txt @@ -676,6 +676,8 @@ Built-in filter reference http://diveintopython.org/native_data_types/lists.html#odbchelper.list.slice for an introduction. + Example: ``{{ some_list|slice:":2" }}`` + ``slugify`` Converts to lowercase, removes non-word characters (alphanumerics and underscores) and converts spaces to hyphens. Also strips leading and