diff options
| author | areski <areski@gmail.com> | 2015-11-19 16:42:18 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-11-19 11:18:31 -0500 |
| commit | 1e7da99ea6a78c47d3b5d4e9ce82df1ee4024ada (patch) | |
| tree | 05688972449699b682962b4a73eadc9532e732e0 /docs/ref | |
| parent | 46e776732f834ae5e448b0764116d59bbf876d1b (diff) | |
Corrected GenericIPAddressField protocol parameter doc.
Diffstat (limited to 'docs/ref')
| -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 99f25fd924..4ec3a67fd7 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -929,7 +929,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 |
