http://code.djangoproject.com/ticket/3896

The initial question of this ticket was:

   Why is value not passed to the clean_%s function?

Although the ticket is closed, this has not changed.

I think clean methods should look like this:
{{{
def clean_foo(self, value):
    ...
}}}

Up to now, you need to look up the value in self.cleaned_data.

I know that this would introduce a big not backward compatible change.
But I think it feels much more natural if the value is passed to the method.

  Thomas

-- 
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de


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