Loading docs/ref/models/fields.txt +8 −3 Original line number Diff line number Diff line Loading @@ -557,7 +557,9 @@ decimal places:: models.DecimalField(..., max_digits=19, decimal_places=10) The default form widget for this field is a :class:`~django.forms.TextInput`. The default form widget for this field is a :class:`~django.forms.NumberInput` when :attr:`~django.forms.Field.localize` is ``False`` or :class:`~django.forms.TextInput` otherwise. .. note:: Loading Loading @@ -872,7 +874,9 @@ can change the maximum length using the :attr:`~CharField.max_length` argument. A floating-point number represented in Python by a ``float`` instance. The default form widget for this field is a :class:`~django.forms.TextInput`. The default form widget for this field is a :class:`~django.forms.NumberInput` when :attr:`~django.forms.Field.localize` is ``False`` or :class:`~django.forms.TextInput` otherwise. .. _floatfield_vs_decimalfield: Loading Loading @@ -927,7 +931,8 @@ The default form widget for this field is a An integer. Values from ``-2147483648`` to ``2147483647`` are safe in all databases supported by Django. The default form widget for this field is a :class:`~django.forms.TextInput`. :class:`~django.forms.NumberInput` when :attr:`~django.forms.Field.localize` is ``False`` or :class:`~django.forms.TextInput` otherwise. ``GenericIPAddressField`` ------------------------- Loading Loading
docs/ref/models/fields.txt +8 −3 Original line number Diff line number Diff line Loading @@ -557,7 +557,9 @@ decimal places:: models.DecimalField(..., max_digits=19, decimal_places=10) The default form widget for this field is a :class:`~django.forms.TextInput`. The default form widget for this field is a :class:`~django.forms.NumberInput` when :attr:`~django.forms.Field.localize` is ``False`` or :class:`~django.forms.TextInput` otherwise. .. note:: Loading Loading @@ -872,7 +874,9 @@ can change the maximum length using the :attr:`~CharField.max_length` argument. A floating-point number represented in Python by a ``float`` instance. The default form widget for this field is a :class:`~django.forms.TextInput`. The default form widget for this field is a :class:`~django.forms.NumberInput` when :attr:`~django.forms.Field.localize` is ``False`` or :class:`~django.forms.TextInput` otherwise. .. _floatfield_vs_decimalfield: Loading Loading @@ -927,7 +931,8 @@ The default form widget for this field is a An integer. Values from ``-2147483648`` to ``2147483647`` are safe in all databases supported by Django. The default form widget for this field is a :class:`~django.forms.TextInput`. :class:`~django.forms.NumberInput` when :attr:`~django.forms.Field.localize` is ``False`` or :class:`~django.forms.TextInput` otherwise. ``GenericIPAddressField`` ------------------------- Loading