Yeah, I need to go back and review. I think my original problem was that I just didn't think about using extra to define the intial forms - I was thinking I needed a queryset. Your first resonse addressed that. But then you mentioned something about exclude and that made me think that maybe I couldn't use it. Of course I can.
Anyway, I need to see if I can get myself back to a steady working state and then am going to revisit using the modelformset_factory. Thanks for the pointers. Margie On Mar 3, 10:24 pm, Malcolm Tredinnick <malc...@pointy-stick.com> wrote: > 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/#control... > > 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 -~----------~----~----~----~------~----~------~--~---