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
This commit is contained in:
parent
cd435ff796
commit
29c50bc0d4
|
@ -677,7 +677,9 @@ Built-in filter reference
|
||||||
for an introduction.
|
for an introduction.
|
||||||
|
|
||||||
``slugify``
|
``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``
|
``stringformat``
|
||||||
Formats the variable according to the argument, a string formatting specifier.
|
Formats the variable according to the argument, a string formatting specifier.
|
||||||
|
|
Loading…
Reference in New Issue