On Sat, May 3, 2014 at 9:07 AM, LaPerl <[email protected]> wrote: > Hi all, > > I have 5 different models all with relations with themselves. I want to > use ModelForm to generate a form that will contain fields of all these > models. I read and read, I tried different things to do this (inheritance, > subclassing...) and then use the class based views to do CRUD with the > object that contains the fields that I want to show to the user. I don't > want to use FBV, but I am thinking that this i not possible, is that true? > > Maybe I don't understand how does it works, please someone that put me in > the right way. > > ModelForms definitely work, and they can definitely be combined with CBVs. Django's documentation contains a whole lot of example code and tutorials, but if you don't tell us what you've tried (and I mean *exactly* what you've tried), we can't give you any advice better than "read the documentation".
If you'd like a little more guidance, why not try showing us what you've tried, and what isn't working as you expected? Yours, Russ Magee %-) -- 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 http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJxq84-MCvNRYCrfRprvWMgRTv1oL%2BFKVX_0rxgmmaP25qgN3g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

