diff options
| author | Edward Henderson <kutenai@me.com> | 2015-04-15 16:28:49 -0600 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-07-17 13:48:58 -0400 |
| commit | f8cc464452f495fce2a3d6f7494396c8f798a1e6 (patch) | |
| tree | 61049a8351e327b59c98341f98dacda0e8186be2 /docs/ref/models | |
| parent | adffff79a36f7de30f438915c492e475e17025f6 (diff) | |
Fixed #16501 -- Added an allow_unicode parameter to SlugField.
Thanks Flavio Curella and Berker Peksag for the initial patch.
Diffstat (limited to 'docs/ref/models')
| -rw-r--r-- | docs/ref/models/fields.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index 19b73aaada..6d3176512c 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -1012,6 +1012,13 @@ It is often useful to automatically prepopulate a SlugField based on the value of some other value. You can do this automatically in the admin using :attr:`~django.contrib.admin.ModelAdmin.prepopulated_fields`. +.. attribute:: SlugField.allow_unicode + + .. versionadded:: 1.9 + + If ``True``, the field accepts Unicode letters in addition to ASCII + letters. Defaults to ``False``. + ``SmallIntegerField`` --------------------- |
