I would use the ManyToMany relation to associate your model with the image model. This is a way to combine ImageField since django does not have an aggregated model field
def YourModel(models.Model): images = ManyToManyField(ImageModel) ... def ImageModel(models.Model): img = ImageField() name ...
Maybe you need something more productive (this can lead to a lot of terrible joins)
source share