Browse files

Improved docs/templates.txt to add example for slice filter. Thanks f…

…or the suggestion, Graham Higgins

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 109a915 commit 2e8e256fe84ba9ea46eb75ee85f45af5bd296b2a @adrianholovaty adrianholovaty committed Sep 24, 2005
Showing with 2 additions and 0 deletions.
  1. +2 −0 docs/templates.txt
@@ -676,6 +676,8 @@ Built-in filter reference
for an introduction.
+ Example: ``{{ some_list|slice:":2" }}``
Converts to lowercase, removes non-word characters (alphanumerics and
underscores) and converts spaces to hyphens. Also strips leading and

0 comments on commit 2e8e256

Please sign in to comment.