Opened 15 years ago

Closed 15 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: dev
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

Description

  • 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 by Julian Bez, 15 years ago

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

comment:2 by Julian Bez, 15 years ago

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