diff --git a/apps/location/models.py b/apps/location/models.py index b89761c6..6657cffa 100644 --- a/apps/location/models.py +++ b/apps/location/models.py @@ -109,6 +109,8 @@ class City(models.Model): map_ref = models.CharField(max_length=255, blank=True, null=True) situation = models.CharField(max_length=255, blank=True, null=True) + gallery = models.ManyToManyField('gallery.Image', through='location.CityGallery') + objects = CityQuerySet.as_manager() class Meta: