Opened 10 years ago
Last modified 10 years ago
#24236 closed Bug
Custom ManyToManyFields don't generate SQL database changes — at Version 1
Description (last modified by ) ¶
Regression introduced in 3d4a826174b7a411a03be39725e60c940944a7fe
If user writes a class, inherited from ManyToManyField
("custom" m2m field) and doesn't define a get_internal_type(): return "ManyToManyField
the schema backends won't recognize it as a m2m field and thus don't treat it as such.
This breaks existing code.
Note:
See TracTickets
for help on using tickets.