Opened 9 years ago

Closed 5 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

Description

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 9 years ago.

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by David Cramer

Attachment: generic.patch added

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

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedReady for checkin

comment:2 Changed 9 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 6 years ago by Gabriel Hurley

Severity: Normal
Type: Cleanup/optimization

comment:4 Changed 5 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