Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added better description of SlugField

git-svn-id: http://code.djangoproject.com/svn/django/trunk@225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 9581c9ed96a841c90f780b8d3f0c455640e9418f 1 parent b0e1a1d
@adrianholovaty adrianholovaty authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 docs/model-api.txt
View
5 docs/model-api.txt
@@ -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``.
Please sign in to comment.
Something went wrong with that request. Please try again.