A
A
Ayaks772017-04-23 05:08:10
Django
Ayaks77, 2017-04-23 05:08:10

Django cbv how to implement multiple models in one form?

Good day! I'm trying to learn janga, it seems like it's fashionable and productive to work with CBV now. But why is it such a pain?? why are they more trouble than good? yes, maybe now everything is simple for me, and I don’t see all the advantages with inheritance and so on, but how much time does it kill (Midnight tried to implement the creation of several related models at once with one form, until I spat on everything and in 3 minutes made it a function, and this is not the first time such garbage. Tell me how to comprehend these classes, and whether it is necessary at all.. maybe there are some resources for studying them, maybe some reviews of the functionality? , but according to dry extracts from the documentation, it’s even difficult to do the real thing, everything is clear in functions, there are no hidden hereditary relationships, you just write what you need, and you get a predictable result,

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question