diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-10-20 04:20:52 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-10-20 04:20:52 +0000 |
| commit | 539e53ccf1b9da4acd095a4aeca4ab6ccc441543 (patch) | |
| tree | a3173c61b5a59f0fd671f7f8a24a9d94c8704e1f /docs | |
| parent | bf5dce64de411929dd63c87fad6186d26dd9b360 (diff) | |
Fixed #317 -- SlugField now accepts hyphens. Thanks, Sune
git-svn-id: http://code.djangoproject.com/svn/django/trunk@968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/model-api.txt | 4 |
1 files changed, 2 insertions, 2 deletions
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``. |
