Changes between Initial Version and Version 1 of Ticket #35671
- Timestamp:
- Aug 12, 2024, 2:45:01 PM (4 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35671 – Description
initial v1 1 My concern is with the usage of `Field.null=False`, which differs from its expected practical application, rather than just its technical function. 2 1 3 When `Field.null=False` and `Field.default` is not set for string-based fields—such as `CharField`, `TextField`, and `SlugField`—`Field.null` does not raise the expected `IntegrityError: NOT NULL constraint failed` when a value is not provided for the field. 2 4