Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #287 -- Clarified description for 'slugify' template filter. Th…

…anks, emccoy@interland.com

git-svn-id: http://code.djangoproject.com/svn/django/trunk@597 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 29c50bc0d41cb5d2b6e36f0f7347b7c0f5c56645 1 parent cd435ff
Adrian Holovaty authored

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 4  docs/templates.txt
4  docs/templates.txt
@@ -677,7 +677,9 @@ Built-in filter reference
677 677
     for an introduction.
678 678
 
679 679
 ``slugify``
680  
-    Converts to lowercase, removes non-alpha chars and converts spaces to hyphens
  680
+    Converts to lowercase, removes non-word characters (alphanumerics and
  681
+    underscores) and converts spaces to hyphens. Also strips leading and
  682
+    trailing whitespace.
681 683
 
682 684
 ``stringformat``
683 685
     Formats the variable according to the argument, a string formatting specifier.

0 notes on commit 29c50bc

Please sign in to comment.
Something went wrong with that request. Please try again.