[Answer]-Django OneToMany relationship?

1👍

It’s not clear why you think a ForeignKey wouldn’t work. On the contrary, that is exactly how to define a one-to-many relationship: in your case, from Image to Category.

Leave a comment