Opened 10 years ago

Closed 10 years ago

#10875 closed (invalid)

Filter an inherited model by parent fields and then update does not work

Reported by: Julian Bez Owned by: nobody
Component: Database layer (models, ORM) Version: master
Severity: Keywords: filter update inheritance
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


  • have a model which inherits fields from a parent model
  • do a filter and specify fields from the parent
  • say update some columns, via QuerySet update method

This will not produce the correct SQL and actually not filter anything.

Change History (2)

comment:1 Changed 10 years ago by Julian Bez

I can add an example model and queries as soon as I have time.

comment:2 Changed 10 years ago by Julian Bez

Resolution: invalid
Status: newclosed

Don't know where, but this appears to be fixed after r10580 that I used.

Note: See TracTickets for help on using tickets.
Back to Top