#31639: F() and OuterRef() objects do not error when referencing transforms.
-------------------------------------+-------------------------------------
     Reporter:  Baptiste Mispelon    |                    Owner:  Srinivas
                                     |  Reddy Thatiparthy
         Type:  Bug                  |                   Status:  assigned
    Component:  Database layer       |                  Version:  master
  (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 Gordon Wrigley):

 As a user who has run into this several times in different contexts it
 really does seem intuitive and expected that transforms and lookups would
 work in F expressions and the work arounds for them not working are quite
 clunky.

 The current behaviour of silently not working is the worst of all options
 and I'd take an error over the current behaviour, but having them work
 would be better.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31639#comment:9>
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.c4f26f3cf1ba2334a589375edc0ee407%40djangoproject.com.

Reply via email to