If I understand correctly, I can use the form argument to supply a
modelform. But actually I have custom modelforms for both the models.
So I hoping to be able to use both if possible?

Regards,
CM.



On Jun 29, 9:24 am, Alex Gaynor <alex.gay...@gmail.com> wrote:
> On Sun, Jun 28, 2009 at 11:23 PM, chefsmart <moran.cors...@gmail.com> wrote:
>
> > Hi,
>
> > The Django documentation gives the following example for
> > inlineformset_factory: -
>
> > BookFormSet = inlineformset_factory(Author, Book)
>
> > This can be found on
> >http://docs.djangoproject.com/en/dev/topics/forms/modelforms/#inline-...
>
> > However, if I have custom modelforms for Author and Book, is it
> > possible to use them with  inlineformset_factory?
>
> > Regards,
> > CM.
>
> inlineformset_factory takes a form argument which should be the modelform
> class that will be used with it.
>
> Alex
>
> --
> "I disapprove of what you say, but I will defend to the death your right to
> say it." --Voltaire
> "The people's good is the highest law."--Cicero
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to