1👍
A workaround would be to add the related_name
in:
project = models.ForeignKey(Project, related_name='project')
And then project_obj.project
leaves no wonder on which of the ProjectUpdate’s field is related to. So generally add a related_name
that has the same name as that of the field.
Source:stackexchange.com