mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #28009 -- Doc'd empty_value for CharField subclasses.
This commit is contained in:
committed by
Mariusz Felisiak
parent
b8239cae19
commit
91669cc566
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user