CarletonComputerScienceSociety / core

The core application behind our online services and events

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create Author Model

MathyouMB opened this issue · comments

Create a new Category model. Questions will have-many Authors and Authors will have-many Questions.

Django will automatically create the question_authors table if you do the first option seen in this video

Add validation to ensure a question cannot have the same author twice.

Add a test to validate that a question cannot have the same author twice.

Screenshot 2021-04-29 at 2 59 44 PM