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

Use id attribute instead of pk for build #3325

Merged
merged 1 commit into from
Nov 27, 2017

Conversation

humitos
Copy link
Member

@humitos humitos commented Nov 27, 2017

pk exists only for Builds that are retrieved from the database, but
when it's retrieved using the API, the id must be used.

Using the id is compatible with both instances.

Related to #2963

`pk` exists only for Builds that are retrieved from the database, but
when it's retrieved using the API, the `id` must be used.

Using the `id` is compatible with both instances.

Related to #2963
@agjohnson
Copy link
Contributor

I noted this in my PR as well, I'll rebase there.

@agjohnson agjohnson merged commit 08a4349 into master Nov 27, 2017
@agjohnson agjohnson deleted the humitos/build/update-state branch November 27, 2017 16:47
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