Skip to content Skip to sidebar Skip to footer

"cannot Assign / Must Be An Instance" Error When Creating A Model Instance From A Csv (foreignkey Related)

(I have read a few related questions, but none seems to have the answer for my particular problem, or perhaps I have misunderstood them.) In my app I have a model Kurs, and each Ku

Solution 1:

are you importing User? from django.contrib.auth.models import User


Post a Comment for ""cannot Assign / Must Be An Instance" Error When Creating A Model Instance From A Csv (foreignkey Related)"