Skip to content

Create mark model in course app #41

@Victhereum

Description

@Victhereum

The mark model should look like this or better
class StudentMarks(TimeBaseModel):
tutor = models.ForeignKey(Instructors, related_name='given_marks', on_delete=models.CASCADE)
student = models.ForeignKey(Student, related_name="marks", on_delete=models.CASCADE)
course = models.ForeignKey(Courses, on_delete=models.CASCADE)
marks_obtained = models.IntegerField()
maximum_marks = models.IntegerField()

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions