Line 257 of django/db/models/fields/__init__.py explicitly deletes the
validator_list and is_required parameters for BooleanFields. The
frustrating part is that no errors are raised by providing a
validator_list argument to a BooleanField, and I can't find any
doumentation for this behavior. I understand and agree with not
allowing is_required, but I have a use case for allowing
validator_list. Is there any particular reason it's being deleted?
(Other than that it often times simply doesn't have a value... the
particular validator should deal with that by checking for a KeyError
IMHO) Regardless though, silently deleting the attribute without an
error or at least a warning is not very nice ;-)

Ticket filed:
http://code.djangoproject.com/ticket/1767

Joseph

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers
-~----------~----~----~----~------~----~------~--~---

Reply via email to