[Django Code] #5864: min_length CharField does not check against required=False in cleaned_data()

1 view
Skip to first unread message

Django Code

unread,
Nov 2, 2007, 5:55:19 PM11/2/07
to djang...@holovaty.com, ja...@jacobian.org, django-...@googlegroups.com
#5864: min_length CharField does not check against required=False in
cleaned_data()
----------------------------------+-----------------------------------------
Reporter: tesse...@gmail.com | Owner: nobody
Status: new | Component: django.newforms
Version: SVN | Keywords: min_length, required, cleaned_data
Stage: Unreviewed | Has_patch: 0
----------------------------------+-----------------------------------------
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.

--
Ticket URL: <http://code.djangoproject.com/ticket/5864>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
Reply all
Reply to author
Forward
0 new messages