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

added pk_field param as a pass through to bulk update on query set #68

Merged
merged 1 commit into from
Mar 15, 2018

Conversation

rkoval
Copy link
Contributor

@rkoval rkoval commented Sep 19, 2017

The pk_field was not on the function signature for the BulkUpdateQuerySet, so I was unable to actually use it when using the BulkUpdateManager on a models.Model class. This PR enables this functionality.

It might make sense to add **kwargs to this proxied function to be passed into the proper bulk_update function to avoid misses like this in the future; however, I figured I'd leave that decision up to the maintainers in another PR.

@arnau126 arnau126 merged commit 0d68db4 into aykut:master Mar 15, 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