Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed #29367 -- Fixed model state on objects with a primary key created with QuerySet.bulk_create(). #9902

Merged
merged 1 commit into from
Apr 27, 2018

Conversation

oesgalha
Copy link
Contributor

Instance of models with manually set primary_key persisted with
bulk_create would not update the state adding and db attributes.

See: ticket 29367

@timgraham timgraham changed the title Fix #29367 - Update instance state persisted with bulk_create Fixed #29367 -- Fixed model state on objects with a primary key created with QuerySet.bulk_create(). Apr 27, 2018
@timgraham timgraham merged commit 6d1f576 into django:master Apr 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants