Re: [Django] #35671: Clarify behavior for Field.null=False on string-based fields (was: Document how to disallow blank values in Char/TextFields)

3 views
Skip to first unread message

Django

unread,
Aug 19, 2024, 8:57:48 AM8/19/24
to django-...@googlegroups.com
#35671: Clarify behavior for Field.null=False on string-based fields
-------------------------------------+-------------------------------------
Reporter: Clifford Gama | Owner: Clifford
Type: | Gama
Cleanup/optimization | Status: assigned
Component: Database layer | Version: 5.1
(models, ORM) |
Severity: Normal | Resolution:
Keywords: Field.null; | Triage Stage: Ready for
IntegrityError; | checkin
NotNullConstraint; Field.default |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

* summary: Document how to disallow blank values in Char/TextFields =>
Clarify behavior for Field.null=False on string-based fields

--
Ticket URL: <https://code.djangoproject.com/ticket/35671#comment:9>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages