Kaydet (Commit) bc8bae0b authored tarafından areski's avatar areski Kaydeden (comit) Tim Graham

[1.8.x] Corrected GenericIPAddressField protocol parameter doc.

Backport of 1e7da99e from master
üst b15eaa29
......@@ -936,7 +936,7 @@ for this field is a :class:`~django.forms.TextInput`.
``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
``2a02:42fe::4``). The default form widget for this field is a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment