> For me, an AttributeError from clean_data is a much more friendly
> change than silently ignoring code like:

True, and the AttributeError can even be user-friendly:
class BaseForm(StrAndUnicode):
  [...]
  _clean_data_error(self):
    raise AttributeError("clean_data has been replaced by cleaned_data")
  clean_data = property(_clean_data_error)
  [...]

Classes extending this can override clean_data with some method
validating a data-field, users get some nice message, full_clean()
writes to cleaned_data and this can be removed in the realese after the
next one.

Greetings, David Danier

--~--~---------~--~----~------------~-------~--~----~
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