id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 24227 isinstance checks on ForeignKey/ManyToManyField should be replaced with field.many_to_one/field.many_to_many Andriy Sokolovskiy "`\bisinstance\b\([a-zA-Z._-]*.\s[a-zA-Z.]*?\bManyToManyField\b` gives me 15 occurrences (I will check manually too). As a followup to https://code.djangoproject.com/ticket/24104, it might be good to check and replace (where we can do this) to look more cleaner and allow custom m2m-fields to behave in the same way like original `ManyToManyField` do." Cleanup/optimization new Database layer (models, ORM) dev Normal cmawebsite@… Markus Holtermann Accepted 1 0 0 1 0 0