django/tests/invalid_models_tests
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
..
__init__.py
test_backend_specific.py Made assertions in invalid_models_tests consistent. 2017-07-11 13:12:17 -04:00
test_custom_fields.py Made assertions in invalid_models_tests consistent. 2017-07-11 13:12:17 -04:00
test_deprecated_fields.py Refs #26154 -- Removed deprecated CommaSeparatedIntegerField. 2017-01-17 20:52:02 -05:00
test_models.py Refs #11964 -- Made constraint support check respect required_db_features. 2019-08-12 06:44:37 +02:00
test_ordinary_fields.py Fixed #29979, Refs #17337 -- Extracted AutoField field logic into a mixin and refactored AutoFields. 2019-08-20 09:22:25 +02:00
test_relative_fields.py Fixed #30421 -- Allowed symmetrical intermediate table for self-referential ManyToManyField. 2019-06-21 15:03:17 +02:00