Opened 6 years ago

Closed 6 years ago

#10875 closed (invalid)

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

Reported by: julianb 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: UI/UX:


  • 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 6 years ago by julianb

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

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

comment:2 Changed 6 years ago by julianb

  • Resolution set to invalid
  • Status changed from new to closed

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