Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

More helpful error message when default.create fails. #2013

Closed
@lovelydinosaur

Description

@lovelydinosaur

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp