> If your verification logic wants to know what field is verifying now,
> you can use closure.

> It is simple, Pythonic and doesn't change core :-)

Closures; fantastic. The more I learn about Python the shorter and
shorter my code gets. :-)

Thanks very much for posting this, Vsevolod. I was able to replace a
confusing section of form handling code with your simple example.

- whiteinge


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

Reply via email to