What I wish existed (and already might, I dunno), is the following: (we can all wish, right?)
subFormClass = form_for_class_with_just_some_fields(ThisVeryLargeClass, 'field_a','field_b','field_c' {'required': True}) and then subFormInstance = subFormClass() subFormInstance.save_yourself_by_merging_to_this_pre_existing_instance(thisInstance) # saves its attributes to that instance.-- this is currently possible through save_instance, as I do it now -- see http://betterlogic.com/roger/?p=43 and then (still wishing :) initializedForm = subFormClass(initial=thisInstance) and also this boundForm = subFormClass(bind_data=thisInstance) Then it would automate things very well :) Any ideas? -Roger On Jun 5, 4:36 am, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 6/5/07, Michael Radziej <[EMAIL PROTECTED]> wrote: > > > > > On Tue, Jun 05, Malcolm Tredinnick wrote: > > > > The number "4" exists as a piece of data, irrelevant of > > > whether it was created by a user, a machine or a bunny rabbit. > > > I hope no animals were harmed for producing this e-mail? ;-) > > Only the bunnies. They were asking for it. :-) > > Russ %-) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---