Right now, with new forms, the way to edit instances using custom form
seems to be to pass instance_object.__dict__ to the form
initialization parameter, with changes made to add in ManyToMany and
similar fields. While this works just fine, it feels like a bit of a
cludge, and it would be nice to see a simple function (possibly
attached to the instance) that simply converted it from an object to a
list that included the necessary bits for ManyToMany fields.

This seems to be the last piece missing for those of us not able/not
comfortable using the auto-generated forms.

Thanks,
~ Anders


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