On Dec 29, 6:57 pm, "Adrian Holovaty" <[EMAIL PROTECTED]> wrote:
This wouldn't work, because self.fields is a dictionary of newforms Field objects, *not* database Field objects. The "f.attname" wouldn't be available.
It was just concept code to see if there was any merit in the idea. If you think there is a benefit still then I can write up a proper patch. It still would work - you could get the _meta from the model of the passed instance and compare f.name to find the matching database field. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
