From 539e53ccf1b9da4acd095a4aeca4ab6ccc441543 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Thu, 20 Oct 2005 04:20:52 +0000 Subject: Fixed #317 -- SlugField now accepts hyphens. Thanks, Sune git-svn-id: http://code.djangoproject.com/svn/django/trunk@968 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/model-api.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/model-api.txt b/docs/model-api.txt index ef203074a3..f355f9fd5e 100644 --- a/docs/model-api.txt +++ b/docs/model-api.txt @@ -369,8 +369,8 @@ Here are all available field types: ``SlugField`` "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. + containing only letters, numbers, underscores or hyphens. They're generally + used in URLs. Implies ``maxlength=50`` and ``db_index=True``. -- cgit v1.3