Violation Not-null Constraint. With A Foreighkey (not User) While Trying To Post In Django Restframework
This problem is commented in the whole Internet, but I don't know why, it's almost always with the user. In my case, the problem is not with the User. I have this model: class Do
Solution 1:
You don't have any details_sample
field in your serializer so it is simply discarded from the data.
Post a Comment for "Violation Not-null Constraint. With A Foreighkey (not User) While Trying To Post In Django Restframework"