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:
@@ -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``.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user