I want to create a tour app that consists of "Tour" and "Place of Interest" The "Tour" model would have multiple "Place of Interests". One "Place of Interest" should be able to be added to multiple "Tour".
So far, I can only add one "Place of Interest" to one "Tour".
Here's my model:
class PlaceOfInterest(models.Model):
name = models.CharField(max_length=255)
tour = models.ForeignKey("Tour", on_delete=models.CASCADE, related_name="tours", blank=True, null=True)
class Tour(models.Model):
title = models.CharField(max_length=255)
What is the best way to represent this situation?