+
Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

Conversation

aminalaee
Copy link
Contributor

@aminalaee aminalaee commented Oct 1, 2021

Fixes #47

Queryset method create does not work with non-integer primary keys.
This PR will check if PK is not in create method arguments, use the one assigned from db, otherwise use the one passed in arguments.

@aminalaee aminalaee merged commit df2fe27 into encode:master Oct 3, 2021
@aminalaee aminalaee deleted the fix-create-method-non-integer-pk branch October 3, 2021 12:28
@aminalaee aminalaee mentioned this pull request Oct 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unexpected model create behaviour for non-integer primary keys

1 participant

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载