diff options
| author | areski <areski@gmail.com> | 2015-11-19 16:42:18 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-11-19 11:19:20 -0500 |
| commit | bc8bae0ba986b33f19ab72d65760e5a904a682d7 (patch) | |
| tree | 416f95db0bd80a3ac768b3a120acbb5be1d263c5 | |
| parent | b15eaa2963a32b00e77f1dc2c04ce0ddb918496a (diff) | |
[1.8.x] Corrected GenericIPAddressField protocol parameter doc.
Backport of 1e7da99ea6a78c47d3b5d4e9ce82df1ee4024ada from master
| -rw-r--r-- | docs/ref/models/fields.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index 7e2bde56c3..cc82d0fde3 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -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 |
