mirror of
https://github.com/django/django.git
synced 2025-12-15 21:45:20 +00:00
Removed IPAddressField per deprecation timeline; refs #20439.
This commit is contained in:
parent
5008a4db44
commit
33457cd3b0
25 changed files with 117 additions and 161 deletions
|
|
@ -719,22 +719,6 @@ For each field, we describe the default widget used if you don't specify
|
|||
|
||||
These control the range of values permitted in the field.
|
||||
|
||||
``IPAddressField``
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. class:: IPAddressField(**kwargs)
|
||||
|
||||
.. deprecated:: 1.7
|
||||
This field has been deprecated in favor of
|
||||
:class:`~django.forms.GenericIPAddressField`.
|
||||
|
||||
* Default widget: :class:`TextInput`
|
||||
* Empty value: ``''`` (an empty string)
|
||||
* Normalizes to: A Unicode object.
|
||||
* Validates that the given value is a valid IPv4 address, using a regular
|
||||
expression.
|
||||
* Error message keys: ``required``, ``invalid``
|
||||
|
||||
``GenericIPAddressField``
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue