#31530: Check that CheckConstraint.check and UniqueConstraint.condition don't 
span
joins.
-------------------------------------+-------------------------------------
     Reporter:  Simon Charette       |                    Owner:  Hasan
         Type:                       |  Ramezani
  Cleanup/optimization               |                   Status:  assigned
    Component:  Database layer       |                  Version:  3.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Hasan Ramezani):

 Here is my
 [https://github.com/django/django/pull/12953#discussion_r430551425 comment
 on PR]:

 Yes, this doesn't work for `Lower('parent__name')`. I can change the patch
 to cover this case as well but I don't know exactly which kind of
 expression should I cover? and with more cases, the code is going to be
 complicated.

 @felixxm Do you have any idea?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31530#comment:4>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.5a8579f3887396750013c6be13e6103c%40djangoproject.com.

Reply via email to