Answer the question
In order to leave comments, you need to log in
How to make output from two views into one template?
Hello!
There are 2 different views, one is a DetailView of the news, the other is a ListView of the forum section associated with the news . The news and the section are connected one to one. It is necessary to make it so that the content of the associated forum section is displayed under the news. Tell me where to start, in which direction to dig. I would not want to completely rewrite the view for displaying news, repeating the already written code in the view for the section. I am sure that there are more concise and correct options.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question