On 5/14/07, John Shaffer <[EMAIL PROTECTED]> wrote:
> For me, an AttributeError from clean_data is a much more friendly
> change than silently ignoring code like:
>
>     def clean_email(self):
>         """Prevent account hijacking by disallowing duplicate emails."""

John makes an excellent point. I'm +1 on changing clean_data to
cleaned_data and keeping the "clean_XXX" method hooks as-is.

Adrian

-- 
Adrian Holovaty
holovaty.com | djangoproject.com

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

Reply via email to