#34871: Validation of UniqueConstraint with Case() crashes.
-------------------------------------+-------------------------------------
Reporter: Andrew Roberts | Owner: Francesco
| Panico
Type: Bug | Status: assigned
Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by David Sanders):
I was almost going to ask whether turning `Q` object into expressions
might be a path here, because it seems to borrow a lot from `Expression`
already being "combinable" and implementing a few expression-like
attributes. Then I saw your comment about implementing
replace_expressions() being non-trivial.
--
Ticket URL: <https://code.djangoproject.com/ticket/34871#comment:11>
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/0107018dcfe9f2c9-b5f72507-6027-4fd1-9c00-6d5ce11ed2a8-000000%40eu-central-1.amazonses.com.