django/tests/model_fields
Nick Pope 21e559495b Fixed #29979, Refs #17337 -- Extracted AutoField field logic into a mixin and refactored AutoFields.
This reduces duplication by allowing AutoField, BigAutoField and
SmallAutoField to inherit from IntegerField, BigIntegerField and
SmallIntegerField respectively. Doing so also allows for enabling the
max_length warning check and minimum/maximum value validation for auto
fields, as well as providing a mixin that can be used for other possible
future auto field types such as a theoretical UUIDAutoField.
2019-08-20 09:22:25 +02:00
..
4x8.png
8x4.png
__init__.py
models.py Fixed #28393 -- Added helpful error messages for invalid AutoField/FloatField/IntegerField values. 2019-08-05 08:41:29 +02:00
test_autofield.py Fixed #29979, Refs #17337 -- Extracted AutoField field logic into a mixin and refactored AutoFields. 2019-08-20 09:22:25 +02:00
test_binaryfield.py Refs #27804 -- Used subTest() in BinaryFieldTests.test_set_and_retrieve. 2019-06-07 06:04:56 +02:00
test_booleanfield.py
test_charfield.py
test_datetimefield.py
test_decimalfield.py Fixed #30400 -- Improved typography of user facing strings. 2019-06-28 16:46:18 +02:00
test_durationfield.py Fixed #30400 -- Improved typography of user facing strings. 2019-06-28 16:46:18 +02:00
test_field_flags.py
test_filefield.py
test_filepathfield.py
test_floatfield.py Fixed #28393 -- Added helpful error messages for invalid AutoField/FloatField/IntegerField values. 2019-08-05 08:41:29 +02:00
test_foreignkey.py
test_genericipaddressfield.py
test_imagefield.py
test_integerfield.py Fixed #29979, Refs #17337 -- Extracted AutoField field logic into a mixin and refactored AutoFields. 2019-08-20 09:22:25 +02:00
test_manytomanyfield.py
test_promises.py
test_slugfield.py
test_textfield.py
test_uuid.py Fixed #30400 -- Improved typography of user facing strings. 2019-06-28 16:46:18 +02:00
tests.py Fixed #30449 -- Fixed RelatedFieldListFilter/RelatedOnlyFieldListFilter to respect model's Meta.ordering. 2019-08-15 10:29:05 +02:00