Opened 19 years ago
Closed 18 years ago
#1238 closed defect (invalid)
ManyToMany doesn't support delete for non-integer primary key datatypes
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | dev |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
django/django/core/meta/__init__.py
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 by , 18 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Triage Stage: | Unreviewed → Accepted |
Note:
See TracTickets
for help on using tickets.
This is being handled differently now.
django.core.meta
disappeared quite a while ago. The only similar code I can find is indb.models.fields.related
and from my quick overview, it doesn't look to be an issue any more.