Python Foreignkey Relationship Returning An Attributeerror When

Python Foreignkey Relationship Returning An Attributeerror When