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:
parent
b0e1a1dda8
commit
9581c9ed96
|
@ -505,8 +505,9 @@ Field Types
|
||||||
(database-dependent) point.
|
(database-dependent) point.
|
||||||
|
|
||||||
``SlugField``
|
``SlugField``
|
||||||
A "slug," suitable for parts of a URL. Only allows alphanumeric characters
|
"Slug" is a newspaper term. A slug is a short label for something,
|
||||||
and underscores.
|
containing only letters, numbers and underscores. They're generally used in
|
||||||
|
URLs.
|
||||||
|
|
||||||
Implies ``maxlength=50`` and ``db_index=True``.
|
Implies ``maxlength=50`` and ``db_index=True``.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue