> What about clean_data -> cleaned_data and maintain clean_*()

I would go for this. cleaned_data sounds a lot more more adequate anyway.

> The biggest down side is that clean_data is already documented... but
> it's an easy find-replace

As newforms is not fully documented so far and some parts are missing in
0.96 (see bug 3297 for example) some people (including me) used the
source as documentation. So both changes may break things. However
clean_data is the official name for it in 0.96 (including the docs).

> To me, cleanfield_* and do_clean_* seem overly wordy and, as Malcolm
> pointed out, the "clean" metaphor is a good one.

Adding something to "clean" (prefix or suffix) just seems wrong (and
produces more chars). Perhaps some synonym
(http://thesaurus.reference.com/browse/clean) might help? tidy, clear?
Or just add an underscore (_clean_FIELD/clean__FIELD)?
validate_FIELD sounds right, too.

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