mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Removed IPAddressField per deprecation timeline; refs #20439.
This commit is contained in:
@@ -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``
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user