Respect! Dont have time to wait though... :D

Can you please consider passing the cleaned value to the
(undocumented?) clean_%s method in Form.full_clean()?

-                    value = getattr(self, 'clean_%s' % name)()
+                    value = getattr(self, 'clean_%s' % name)(value)

Joakim

On Jan 17, 7:00 pm, "Adrian Holovaty" <[EMAIL PROTECTED]> wrote:
On 1/17/07, serbaut <[EMAIL PROTECTED]> wrote:

> >     def my_view(request):
> >         f = MyForm({'foo': request.POST['foo'], 'bar': 
request.user.username})

> > The form library itself knows nothing about request objects.

> But my Field doesnt know about its' form so how does this help my
> Field.clean(self, value) validator?With respect, I think you should wait 
until the library is fully documented.

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to