How to create a form using multiple models in django?

So I am trying to make a student result management project.Where I can add students subhect grade and exam result.In the project i need to make a form where i can add marks of a subject to all the students of a grade(Class) at once.I want the look like the photo.Example Example .

I tried to create individual form for every sector and try to combaine them.But it didn't work.Now I need to know how can I make a form using many models in django

[Sorry for my Bad English ]

Вернуться на верх