summaryrefslogtreecommitdiff
path: root/docs/releases
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2011-07-14 13:47:10 +0000
committerJannis Leidel <jannis@leidel.info>2011-07-14 13:47:10 +0000
commit3b774583711e39dae7a5cfde314288f8019f59c6 (patch)
treef14bf8b086ad3b4d46b6cd4e1ebbfb1938836737 /docs/releases
parent12b7c2a702bea68e53c438fa2c7a4a01d890695d (diff)
Fixed #5025 -- Add a "truncatechars" template filter. Many thanks to Chris Beaven.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16542 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/releases')
-rw-r--r--docs/releases/1.4.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/releases/1.4.txt b/docs/releases/1.4.txt
index 55d845305c..43c9ae25c5 100644
--- a/docs/releases/1.4.txt
+++ b/docs/releases/1.4.txt
@@ -145,6 +145,14 @@ A new helper function,
``template.Library`` to ease the creation of template tags that store some
data in a specified context variable.
+``truncatechars`` template filter
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Added a filter which truncates a string to be no longer than the specified
+number of characters. Truncated strings end with a translatable ellipsis
+sequence ("..."). See the :tfilter:`truncatechars docs <truncatechars>` for
+more details.
+
CSRF improvements
~~~~~~~~~~~~~~~~~