#30661: Add support for SmallAutoField.
-------------------------------------+-------------------------------------
Reporter: Nick Pope | Owner: Nick Pope
Type: New | Status: assigned
feature |
Component: Database | Version: master
layer (models, ORM) | Keywords: autofield,
Severity: Normal | smallautofield, smallintegerfield
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
We have `AutoField` and `BigAutoField` that mirror `IntegerField` and
`BigIntegerField`, but there is no `SmallAutoField` for
`SmallIntegerField`.
It can be useful to have an auto-incrementing 16-bit integer field for
infrequently updated tables that contain a list of choices, e.g.
countries, for systems where limited disk space/memory is available.
(In part this was also a test for the changes in #29979.)
--
Ticket URL: <https://code.djangoproject.com/ticket/30661>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.a651062bc6a48e28dba0c525d81aa6cf%40djangoproject.com.