On Aug 15, 3:34 pm, sime <[EMAIL PROTECTED]> wrote: > > clean_field1 = generic_clean > > clean_field2 = generic_clean > > The problem here is generic_clean doesn't know which field it is, and > I can't pass arguments that way? Don't think we have field.name or > similar either.
The solution is that clean_* methods should just be passed the field's value as an argument. Even being backwards incompatible, I think it needs to be done. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
