From 3b774583711e39dae7a5cfde314288f8019f59c6 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Thu, 14 Jul 2011 13:47:10 +0000 Subject: 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 --- docs/internals/deprecation.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/internals') diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index c20d5bec82..3639cc2fd0 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -220,6 +220,12 @@ their deprecation, as per the :ref:`Django deprecation policy was deprecated since Django 1.4 and will be removed in favor of the generic static files handling. + * The builin truncation functions + :func:`django.utils.text.truncate_words` and + :func:`django.utils.text.truncate_html_words` + were deprecated since Django 1.4 and will be removed in favor + of the ``django.utils.text.Truncator`` class. + * 2.0 * ``django.views.defaults.shortcut()``. This function has been moved to ``django.contrib.contenttypes.views.shortcut()`` as part of the -- cgit v1.3