-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#31] Do not validate defaults for Django fields with choices
The reason here is that the source of our config values cannot express complex types such as enum members, and that defaults for Django fields with choices frequently include such types (or callables returning such types). We are mainly about the types of the values provided from outside, not of Django field defaults (beyond null and blank), so we can leave the validation of the default to Django.
- Loading branch information
1 parent
815b425
commit d210fc0
Showing
3 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters