mirror of
https://github.com/Hopiu/django.git
synced 2026-03-19 07:20:31 +00:00
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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_backend_specific.py | ||
| test_custom_fields.py | ||
| test_deprecated_fields.py | ||
| test_models.py | ||
| test_ordinary_fields.py | ||
| test_relative_fields.py | ||