I've run into a few situations where I need to pass data into a Form
for validation.

Consider, for example, a 'change password' form.
Validation of the current password is required to ensure correct authorization.
To validate the current password, the form needs to know the user it
is validating against.

I have suggested an enhancement to newforms that would potentially
solve this issue.

Please see the ticket located at:
http://code.djangoproject.com/ticket/3479

In terms of coding this, it's a trivial change with tremendous benefit
for users and wouldn't hurt backwards compatibility within newforms.
If there's support, I'll be happy to put together a patch.

 - Ben

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