mirror of
https://github.com/django/django.git
synced 2025-03-26 17:20:49 +00:00
[1.8.x] Corrected GenericIPAddressField protocol parameter doc.
Backport of 1e7da99ea6a78c47d3b5d4e9ce82df1ee4024ada from master
This commit is contained in:
parent
b15eaa2963
commit
bc8bae0ba9
@ -936,7 +936,7 @@ for this field is a :class:`~django.forms.TextInput`.
|
|||||||
``GenericIPAddressField``
|
``GenericIPAddressField``
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
||||||
.. class:: GenericIPAddressField(protocol=both, unpack_ipv4=False, **options)
|
.. class:: GenericIPAddressField(protocol='both', unpack_ipv4=False, **options)
|
||||||
|
|
||||||
An IPv4 or IPv6 address, in string format (e.g. ``192.0.2.30`` or
|
An IPv4 or IPv6 address, in string format (e.g. ``192.0.2.30`` or
|
||||||
``2a02:42fe::4``). The default form widget for this field is a
|
``2a02:42fe::4``). The default form widget for this field is a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user