On Wed, 2009-03-04 at 16:49 +1100, Malcolm Tredinnick wrote: > On Tue, 2009-03-03 at 21:44 -0800, Margie wrote: > > > > My model does have multiple fields in it - the Book thing was just an > > example to simplify. And I do have fields that I need to exclude. Am > > I not able to exclude fields with the modelformset_factory? > > The example code I have showed fields being excluded.
Gargh. Important typo: that should have said "the example code I have *posted*", in my previous post. Also, the documentation for model forms shows, similarly, how to exclude fields ([1]). So I don't understand your question. [1] http://docs.djangoproject.com/en/dev/topics/forms/modelforms/#controlling-which-fields-are-used-with-fields-and-exclude Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---