1👍
The problem is your table names… remove the trailing underscores and it’ll work fine.
Django creates an intermediary table for m2m fields called something like APP_MODEL1_MODEL2
, and due to your underscores, there will be a double underscore in there which is confusing the ORM.
👤Greg
Source:stackexchange.com