#36722: MySQL backend raises error when selecting 0 using an expression
targeting
an autofield.
-------------------------------------+-------------------------------------
Reporter: Clifford Gama | Owner: Clifford
| Gama
Type: Bug | Status: assigned
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution:
Keywords: allows_auto_pk_0 | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Jacob Walls):
Thanks for looking into this. Can you say more about the use case for
using `AutoField` in the `output_field`? It seems like this fell out of
the work in #36689, but maybe you can help me out with the motivation for
why we need to support this (do we have any existing test cases?)
--
Ticket URL: <https://code.djangoproject.com/ticket/36722#comment:1>
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 visit
https://groups.google.com/d/msgid/django-updates/0107019a6e4ee3fc-fd0bad4a-45fb-4810-8f43-9e86908f0e74-000000%40eu-central-1.amazonses.com.