21e559495b
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. |
||
---|---|---|
.. | ||
base | ||
dummy | ||
mysql | ||
oracle | ||
postgresql | ||
sqlite3 | ||
__init__.py | ||
ddl_references.py | ||
signals.py | ||
utils.py |