Changes between Initial Version and Version 1 of Ticket #36286, comment 1
- Timestamp:
- Apr 2, 2025, 8:56:14 AM (12 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TabularUnified Ticket #36286, comment 1
initial v1 1 1 See #35671 and https://forum.djangoproject.com/t/get-or-create-and-create-with-unspecified-non-nullable-fields/33755. 2 2 3 Empty strings do not violate `null=False` and they are the default empty value for string-based fields. If you don't want them as defaults, consider setting `default=None`. `blank=False will only disallow them in forms, not in Python code.3 Empty strings do not violate `null=False` and they are the default empty value for string-based fields. If you don't want them as defaults, consider setting `default=None`. `blank=False` will only disallow them in forms, not in Python code.