Opened 12 years ago

Closed 11 years ago

#1238 closed defect (invalid)

ManyToMany doesn't support delete for non-integer primary key datatypes

Reported by: boxed@… Owned by: Adrian Holovaty
Component: Database layer (models, ORM) Version: master
Severity: normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


django/django/core/meta/ method method_set_many_to_many (line 1158 to 1161 in revision 2013) assumes that the fields are integers, when they can be strings for example.

Change History (1)

comment:1 Changed 11 years ago by Chris Beaven

Resolution: invalid
Status: newclosed
Triage Stage: UnreviewedAccepted

This is being handled differently now. django.core.meta disappeared quite a while ago. The only similar code I can find is in db.models.fields.related and from my quick overview, it doesn't look to be an issue any more.

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