Skip to content

Create Author Model #24

@MathyouMB

Description

@MathyouMB

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

Metadata

Metadata

Labels

code challengeCode Challenge project specificenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions