#27452: Add Postgres serial field to contrib.postgres
-------------------------------------+-------------------------------------
Reporter: Johannes Maron | Owner: Csirmaz
| Bendegúz
Type: New feature | Status: assigned
Component: contrib.postgres | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Florian Apolloner):
To be honest I'd be slightly in favor of removing the existing limitations
of AutoFields where databases can support it (if we are able to decide
that it makes sense semantically at least). Adding a new field that
basically does the same thing as an existing field kinda feels wrong.
Granted, an explicit Serial/IdentityField would allow to specifiy more
options (like adjusting the sequence name), but I am not sure if that
would be a common enough usecase to add it to django itself.
--
Ticket URL: <https://code.djangoproject.com/ticket/27452#comment:32>
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/0107019050a0e4c3-efeaecb8-761c-4661-9420-76f60198ec83-000000%40eu-central-1.amazonses.com.