#35880: Form Field.requried docs invalid example due to CharField.strip
-------------------------------------+-------------------------------------
Reporter: Antoliny | Owner: Antoliny
Type: Bug | Status: closed
Component: Documentation | Version: 5.1
Severity: Normal | Resolution: fixed
Keywords: Form Fields | Triage Stage: Ready for
Document | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce <42296566+sarahboyce@…>):
* resolution: => fixed
* status: assigned => closed
Comment:
In [changeset:"cae0c7f48ae1257963e76988ff2d5897ffc40ccb" cae0c7f4]:
{{{#!CommitTicketReference repository=""
revision="cae0c7f48ae1257963e76988ff2d5897ffc40ccb"
[5.1.x] Fixed #35880 -- Removed invalid example in form Field.required
docs due to CharField.strip.
CharField.strip was introduced in
11cac1bd8ef7546ca32d9969d4348bf412dc6664, and is True by
default, meaning the previous example of " " raised a ValidationError.
Backport of 72de38239fdc97751e1e4ed245c7073c31bbd28a from main.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35880#comment:11>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/01070192fcc215d3-ea0ec530-e7bb-4705-b7f5-a54eb132ce9f-000000%40eu-central-1.amazonses.com.