Skip to content

Commit

Permalink
Added better description of SlugField
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
adrianholovaty committed Jul 19, 2005
1 parent b0e1a1d commit 9581c9e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/model-api.txt
Expand Up @@ -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``.

Expand Down

0 comments on commit 9581c9e

Please sign in to comment.