Code

Opened 7 years ago

Closed 3 years ago

#6055 closed Cleanup/optimization (needsinfo)

GenericRelation and db_column lookups

Reported by: dcramer 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 dcramer 7 years ago.

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by dcramer

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

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 7 years ago by jacob

  • Patch needs improvement set
  • Triage Stage changed from Ready for checkin to Design decision needed

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

comment:3 Changed 3 years ago by gabrielhurley

  • Severity set to Normal
  • Type set to Cleanup/optimization

comment:4 Changed 3 years ago by carljm

  • Easy pickings unset
  • Resolution set to needsinfo
  • Status changed from new to closed
  • 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.