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

Unit testing for default values #1700

Merged
merged 12 commits into from Jun 26, 2021

Conversation

SchrodingersGat
Copy link
Member

@SchrodingersGat SchrodingersGat commented Jun 21, 2021

Fixes #1687)

If a field value is not specified when creating a new instance, see if the model has default values for that field

SchrodingersGat added a commit to inventree/inventree-docs that referenced this pull request Jun 26, 2021
@SchrodingersGat SchrodingersGat merged commit 9e720ea into inventree:master Jun 26, 2021
@SchrodingersGat SchrodingersGat deleted the api-default-values branch June 26, 2021 23:01
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.

Observe "default" values for blank fields when creating objects via API
1 participant