Hi paul. There is a package called django-extra-views that solve exactly
this problem.

See CreateViewWithInlines (or something like that).

Em 7h40 Seg, 11/07/2016, Paul <[email protected]> escreveu:

> By default Django’s class-based views support just a single form per view.
>
> I need more forms per view because I want to combine a ForeignKey
> relations with various ModelForm instances and also to appear in the
> FormModel.
>
> In Django documentation and other tutorials I found formsets, but in the
> default examples you repeat the same form multiple times, which is not what
> I need.
>
> Inline formsets looks like what I need , but I didn't found an example for
> GBV like CreateView. Can you give me some examples, link to a tutorial ?
>
> Thanks.
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/0cd0a748-1d47-4750-b566-1e8451d8b530%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/0cd0a748-1d47-4750-b566-1e8451d8b530%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGjPPHkW_71OnkomphxAZV9qSAHeh84O_fd7G3YmB7kcpNPyKg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to