1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #317 -- SlugField now accepts hyphens. Thanks, Sune

git-svn-id: http://code.djangoproject.com/svn/django/trunk@968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty
2005-10-20 04:20:52 +00:00
parent bf5dce64de
commit 539e53ccf1
4 changed files with 13 additions and 9 deletions

View File

@@ -369,8 +369,8 @@ Here are all available field types:
``SlugField``
"Slug" is a newspaper term. A slug is a short label for something,
containing only letters, numbers and underscores. They're generally used in
URLs.
containing only letters, numbers, underscores or hyphens. They're generally
used in URLs.
Implies ``maxlength=50`` and ``db_index=True``.