Changes between Initial Version and Version 1 of Ticket #36286, comment 1


Ignore:
Timestamp:
Apr 2, 2025, 8:56:14 AM (12 days ago)
Author:
Clifford Gama

Legend:

Unmodified
Added
Removed
Modified
  • TabularUnified Ticket #36286, comment 1

    initial v1  
    11See #35671 and https://forum.djangoproject.com/t/get-or-create-and-create-with-unspecified-non-nullable-fields/33755.
    22
    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.
     3Empty 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.
Back to Top