From 9581c9ed96a841c90f780b8d3f0c455640e9418f Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Tue, 19 Jul 2005 20:51:00 +0000 Subject: [PATCH] Added better description of SlugField git-svn-id: http://code.djangoproject.com/svn/django/trunk@225 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/model-api.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/model-api.txt b/docs/model-api.txt index 56c1a8cd14..756e19c7b6 100644 --- a/docs/model-api.txt +++ b/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``.