From 29c50bc0d41cb5d2b6e36f0f7347b7c0f5c56645 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Thu, 1 Sep 2005 22:58:58 +0000 Subject: [PATCH] Fixed #287 -- Clarified description for 'slugify' template filter. Thanks, emccoy@interland.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@597 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/templates.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/templates.txt b/docs/templates.txt index 4a5161eae5..89d9eacda8 100644 --- a/docs/templates.txt +++ b/docs/templates.txt @@ -677,7 +677,9 @@ Built-in filter reference for an introduction. ``slugify`` - Converts to lowercase, removes non-alpha chars and converts spaces to hyphens + Converts to lowercase, removes non-word characters (alphanumerics and + underscores) and converts spaces to hyphens. Also strips leading and + trailing whitespace. ``stringformat`` Formats the variable according to the argument, a string formatting specifier.