8000 Refs #31286 -- Default to running checks against all databases. by charettes · Pull Request #19912 · django/django · GitHub
[go: up one dir, main page]

Skip to content

Conversation

charettes
Copy link
Member

Regression in 0b83c8c which added support for running checks only against databases but also defaulted to running against no databases if not specified.

Thanks Tim Graham for surfacing how this was a problematic default.

)
else:
base_checks = self.base_field.check()
base_checks = self.base_field.check(**kwargs)
Copy link
Member Author

Choose a reason for hiding this comment

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

This is not strictly necessary here but it ensures databases is respected when specified.

Regression in 0b83c8c which added support for
running checks only against databases but also defaulted to running against no
databases if not specified.

Thanks Tim Graham for surfacing how this was a problematic default.
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.

1 participant

0