diff options
| author | David Smith <smithdc@gmail.com> | 2020-07-04 07:58:11 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-09-25 18:31:20 +0200 |
| commit | 793bd24db6dac863ca4fb4166137f349d15f3c1c (patch) | |
| tree | 88ce32e453007e4ac61c28b6b55e059c0c2542ec /docs/releases/1.11.txt | |
| parent | ab8eccf54f52c23cd322adda3cf52617749bf14b (diff) | |
[3.1.x] Fixed #28009 -- Doc'd empty_value for CharField subclasses.
Backport of 91669cc566918fde4fe98f867cf4c406f64504e6 from master
Diffstat (limited to 'docs/releases/1.11.txt')
| -rw-r--r-- | docs/releases/1.11.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/releases/1.11.txt b/docs/releases/1.11.txt index 805476c348..c32203aaee 100644 --- a/docs/releases/1.11.txt +++ b/docs/releases/1.11.txt @@ -288,8 +288,10 @@ File Storage Forms ~~~~~ -* The new :attr:`CharField.empty_value <django.forms.CharField.empty_value>` - attribute allows specifying the Python value to use to represent "empty". +* The new ``empty_value`` attribute on :class:`~django.forms.CharField`, + :class:`~django.forms.EmailField`, :class:`~django.forms.RegexField`, + :class:`~django.forms.SlugField`, and :class:`~django.forms.URLField` allows + specifying the Python value to use to represent "empty". * The new :meth:`Form.get_initial_for_field() <django.forms.Form.get_initial_for_field>` method returns initial data for a |
