Fixed invalid ipv4 mapped ipv6 addresses in docs

This commit is contained in:
Danilo Bargen 2012-11-07 17:13:06 +01:00
parent e8f696097b
commit b0c72d0a30
2 changed files with 2 additions and 2 deletions

View File

@ -683,7 +683,7 @@ For each field, we describe the default widget used if you don't specify
.. attribute:: unpack_ipv4 .. attribute:: unpack_ipv4
Unpacks IPv4 mapped addresses like ``::ffff::192.0.2.1``. Unpacks IPv4 mapped addresses like ``::ffff:192.0.2.1``.
If this option is enabled that address would be unpacked to If this option is enabled that address would be unpacked to
``192.0.2.1``. Default is disabled. Can only be used ``192.0.2.1``. Default is disabled. Can only be used
when ``protocol`` is set to ``'both'``. when ``protocol`` is set to ``'both'``.

View File

@ -825,7 +825,7 @@ are converted to lowercase.
.. attribute:: GenericIPAddressField.unpack_ipv4 .. attribute:: GenericIPAddressField.unpack_ipv4
Unpacks IPv4 mapped addresses like ``::ffff::192.0.2.1``. Unpacks IPv4 mapped addresses like ``::ffff:192.0.2.1``.
If this option is enabled that address would be unpacked to If this option is enabled that address would be unpacked to
``192.0.2.1``. Default is disabled. Can only be used ``192.0.2.1``. Default is disabled. Can only be used
when ``protocol`` is set to ``'both'``. when ``protocol`` is set to ``'both'``.