#36198: Unique Constraints defined with __date lookups on F expressions fail
validation but create database constraints sucessfully
-------------------------------------+-------------------------------------
     Reporter:  Tom Hall             |                    Owner:  Simon
                                     |  Charette
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  5.1
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  constraint lookup    |             Triage Stage:  Ready for
  unique validation                  |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Sarah Boyce <42296566+sarahboyce@…>):

 In [changeset:"e5ccb69bc3da407ab2b0477c0cc5db27c7207225" e5ccb69b]:
 {{{#!CommitTicketReference repository=""
 revision="e5ccb69bc3da407ab2b0477c0cc5db27c7207225"
 [5.2.x] Fixed #36198 -- Implemented unresolved transform expression
 replacement.

 This allows the proper resolving of F("field__transform") when
 performing constraint validation.

 Thanks Tom Hall for the report and Sarah for the test.

 Prerequisite for #36518.

 Backport of fc303551077c3e023fe4f9d01fc1b3026c816fa4 from main.
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36198#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 visit 
https://groups.google.com/d/msgid/django-updates/010701987409e9fa-b8b9a4df-3773-4d7c-b606-805b942e8d58-000000%40eu-central-1.amazonses.com.

Reply via email to