Browse files

Added better description of SlugField

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent b0e1a1d commit 9581c9ed96a841c90f780b8d3f0c455640e9418f @adrianholovaty adrianholovaty committed Jul 19, 2005
Showing with 3 additions and 2 deletions.
  1. +3 −2 docs/model-api.txt
@@ -505,8 +505,9 @@ Field Types
(database-dependent) point.
- 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``.

0 comments on commit 9581c9e

Please sign in to comment.