Added better description of SlugField

git-svn-id: http://code.djangoproject.com/svn/django/trunk@225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-07-19 20:51:00 +00:00
parent b0e1a1dda8
commit 9581c9ed96
1 changed files with 3 additions and 2 deletions

View File

@ -505,8 +505,9 @@ Field Types
(database-dependent) point.
``SlugField``
A "slug," suitable for parts of a URL. Only allows alphanumeric characters
and underscores.
"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.
Implies ``maxlength=50`` and ``db_index=True``.