Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7k
Closed
Labels
Milestone
Description
If the default.create method onModelSerializer fails withTypeError then it'll typically be because it's passed an incorrect parameter to theMyModel.objects.create() method. Eg.
TypeError("'%s' is an invalid keyword argument for this function" % list(kwargs)[0])We should highlight this type of issue to users, and make it more obvious & easy to resolve.