Opened 10 years ago

Closed 7 years ago

#6055 closed Cleanup/optimization (needsinfo)

GenericRelation and db_column lookups

Reported by: David Cramer Owned by: nobody
Component: Database layer (models, ORM) Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Design decision needed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no


GenericRelations do not properly reference m2m_column_name when doing things such as .delete() on models that use them.

Attachments (1)

generic.patch (451 bytes) - added by David Cramer 10 years ago.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by David Cramer

Attachment: generic.patch added

comment:1 Changed 10 years ago by Simon G <dev@…>

Triage Stage: UnreviewedReady for checkin

comment:2 Changed 10 years ago by Jacob

Patch needs improvement: set
Triage Stage: Ready for checkinDesign decision needed

This makes some code on my machine fail. I need to investigate further before checking this in...

comment:3 Changed 7 years ago by Gabriel Hurley

Severity: Normal
Type: Cleanup/optimization

comment:4 Changed 7 years ago by Carl Meyer

Easy pickings: unset
Resolution: needsinfo
Status: newclosed
UI/UX: unset

Closing needsinfo, as the report doesn't clearly indicate what the bug is, how to reproduce it, or what's the desired alternative behavior.

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