Skip to content

Commit b23088f

Browse files
committed
Merge remote-tracking branch 'origin/bigint-coerce' into bigint-coerce
2 parents c91212b + 1c3b1ec commit b23088f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/api-guide/fields.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,15 +271,15 @@ Corresponds to `django.db.models.fields.IntegerField`, `django.db.models.fields.
271271

272272
## BigIntegerField
273273

274-
An biginteger representation.
274+
A biginteger representation.
275275

276276
Corresponds to `django.db.models.fields.BigIntegerField`.
277277

278278
**Signature**: `BigIntegerField(max_value=None, min_value=None, coerce_to_string=None)`
279279

280280
* `max_value` Validate that the number provided is no greater than this value.
281281
* `min_value` Validate that the number provided is no less than this value.
282-
* `coerce_to_string` Set to `True` if string values should be returned for the representation, or `False` if `BigInteger` objects should be returned. Defaults to the same value as the `COERCE_BIGINT_TO_STRING` settings key, which will be `True` unless overridden. If `BigInteger` objects are returned by the serializer, then the final output format will be determined by the renderer.
282+
* `coerce_to_string` Set to `True` if string values should be returned for the representation, or `False` if `BigInteger` objects should be returned. Defaults to the same value as the `COERCE_BIGINT_TO_STRING` settings key, which will be `False` unless overridden. If `BigInteger` objects are returned by the serializer, then the final output format will be determined by the renderer.
283283

284284
## FloatField
285285

tests/test_fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@ class TestBigIntegerField(FieldValues):
11361136

11371137
class TestMinMaxBigIntegerField(FieldValues):
11381138
"""
1139-
Valid and invalid values for `IntegerField` with min and max limits.
1139+
Valid and invalid values for `BigIntegerField` with min and max limits.
11401140
"""
11411141
valid_inputs = {
11421142
'1': 1,

0 commit comments

Comments
 (0)