Skip to content

Conversation

@berinhard
Copy link
Member

Closes #479

Describe the change
This PR changes the Baker.generate_value method to also consider the values configured in Field.db_default.

@berinhard berinhard requested a review from a team September 17, 2024 15:53
Copy link
Member

@amureki amureki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love it, thank you, Bernardo! 🫶

@amureki amureki changed the title Issue479 Fix #479 -- Make sure db_default is being considered as a default value Sep 20, 2024
@amureki amureki changed the title Fix #479 -- Make sure db_default is being considered as a default value Fix #479 -- Make sure db_default is being considered Sep 20, 2024
@berinhard
Copy link
Member Author

@amureki any instructions on how to fix the coverage issue on CI? This is kind of new to me, so I'm not familiar.

@amureki
Copy link
Member

amureki commented Sep 20, 2024

@amureki any instructions on how to fix the coverage issue on CI? This is kind of new to me, so I'm not familiar.

Yeah, after rebasing, it should upload coverage artifacts and show an html report.

@berinhard berinhard merged commit e6ae935 into main Sep 26, 2024
@berinhard berinhard deleted the issue479 branch September 26, 2024 07:55
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.

Django 5 db_default field parameter ignored when creating recipies

3 participants