Answer the question
In order to leave comments, you need to log in
How to display information about an object on a list page?
There is a model and there is a page where I display it with this:
class showBooks(ListView):
model = Book
template_name = 'main.html'
context_object_name = 'book'
Answer the question
In order to leave comments, you need to log in
When will you learn to read the documentation and look at examples first, and then ask questions ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question