[1.9.x] Corrected GenericIPAddressField protocol parameter doc.

Backport of 1e7da99ea6 from master
This commit is contained in:
areski 2015-11-19 16:42:18 +01:00 committed by Tim Graham
parent ed95091561
commit 0adbac4943
1 changed files with 1 additions and 1 deletions

View File

@ -941,7 +941,7 @@ is ``False`` or :class:`~django.forms.TextInput` otherwise.
``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