From f8cc464452f495fce2a3d6f7494396c8f798a1e6 Mon Sep 17 00:00:00 2001 From: Edward Henderson Date: Wed, 15 Apr 2015 16:28:49 -0600 Subject: Fixed #16501 -- Added an allow_unicode parameter to SlugField. Thanks Flavio Curella and Berker Peksag for the initial patch. --- docs/ref/forms/fields.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs/ref/forms') diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt index 776ef873ad..88c35829c0 100644 --- a/docs/ref/forms/fields.txt +++ b/docs/ref/forms/fields.txt @@ -875,6 +875,15 @@ For each field, we describe the default widget used if you don't specify This field is intended for use in representing a model :class:`~django.db.models.SlugField` in forms. + Takes an optional parameter: + + .. attribute:: allow_unicode + + .. versionadded:: 1.9 + + A boolean instructing the field to accept Unicode letters in addition + to ASCII letters. Defaults to ``False``. + ``TimeField`` ~~~~~~~~~~~~~ -- cgit v1.3