P
P
POLONSKY972020-07-12 23:20:08
Flask
POLONSKY97, 2020-07-12 23:20:08

SQLAlchemy relationship. How to implement the task?

There are models of students and school subjects. How to make sure that each student can be graded in a particular subject. How to implement the student-lesson-assessment relationship?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Palagecha, 2020-07-13
@POLONSKY97

Create an intermediate table where the student's ile, subject id and grade will be and attach them through relationships.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question