Skip to content

Fixes #752 Inconsistency with IS_EMPTY_OR logic in default validators#755

Merged
mdipierro merged 1 commit intoweb2py:masterfrom
nursix:default_validator_fix
Jan 10, 2026
Merged

Fixes #752 Inconsistency with IS_EMPTY_OR logic in default validators#755
mdipierro merged 1 commit intoweb2py:masterfrom
nursix:default_validator_fix

Conversation

@nursix
Copy link
Contributor

@nursix nursix commented Jan 7, 2026

Previously, foreign key validators would always require a value by default (even without notnull=True), while the default validation for all other field types did not.

This PR fixes the inconsistency.

@mdipierro mdipierro merged commit 30a0abd into web2py:master Jan 10, 2026
6 checks passed
@nursix nursix deleted the default_validator_fix branch January 13, 2026 09:03
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