I
I
Ivan Vasilenko2017-10-04 09:47:17
Django
Ivan Vasilenko, 2017-10-04 09:47:17

How to add display fields to List display through a loop?

The essence of this is the model of a person and the model of the event attached to it to which he is subscribed. In the list display, you need to display the person's name and all events. And if he is subscribed to this event, display the name, and where he is not subscribed, leave it empty. Tell me how to fill list_display through a loop?

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