Hi there,

I just spotted changeset [5231]:

"""
Renamed form-specific cleaning methods to be do_clean_*, rather than clean_*.
This avoids a name clash that would occur when you had a form field called
"data" (because clean_data is already a dictionary on the Form class).
"""
http://code.djangoproject.com/changeset/5231

Well spotted, Malcolm! But I think do_clean_*() is awkward sounding.
Could we think of a better naming convention, ideally one that uses a
single word rather than two ("do clean")?

Some suggestions to get the discussion started:

cleanfield_foo()
validate_foo()

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