#33091: A FieldError should be raised when trying to update MTI inherited field
with F reference to child field
-------------------------------------+-------------------------------------
     Reporter:  Shai Berger          |                    Owner:  Clifford
         Type:                       |  Gama
  Cleanup/optimization               |                   Status:  assigned
    Component:  Database layer       |                  Version:  dev
  (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 Clifford Gama):

 {{{#!python
 remote_employee.salary = F("incentive") * 5
 remote_employee.save()
 }}}
 could also raise the same error. Currently it's `FieldError: Cannot
 resolve ... into field ... The choices are ...`
-- 
Ticket URL: <https://code.djangoproject.com/ticket/33091#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/01070195f1533474-b7ea5cf3-dc73-44fa-9bd1-3c573fb8ca16-000000%40eu-central-1.amazonses.com.

Reply via email to