[Answer]-"Cannot resolve keyword 'user' into field. Choices are: id, project_, user_"

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

Leave a comment