#5864 closed (invalid)
min_length CharField does not check against required=False in cleaned_data()
| Reported by: | Owned by: | nobody | |
|---|---|---|---|
| Component: | Forms | Version: | dev |
| Severity: | Keywords: | min_length, required, cleaned_data | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
with a formfield "myfield = CharField( min_length=6, max_length=75, required=False)"
when accessing the form.cleaned_data(), raises an exception, and removing min_length=6 stops the exception from happening.
Note:
See TracTickets
for help on using tickets.
This appears to fixed since it was reported. It was confirmed by the submitter in IRC.