A
A
AntonIgin2017-08-19 16:42:44
Django
AntonIgin, 2017-08-19 16:42:44

How to place inlines inlines on a page?

Let's say we have models with the following hierarchy:
Course -> Subject -> Theme -> Test -> Answer
Inline allows you to place a child model on the parent edit page, we already have an example. You can add answer options right on the Test page. But here's the problem: In Theme, with the same approach, only Test inlines will be displayed, but Answer will have to be added separately, going into each Test object. Very uncomfortable.
Are there any solutions to this problem in standard Django?

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