wagtail AbstractImage, ParentalManyToManyField and ClusterableModel
问题 Using wagtail 2.1, django 2.0.3, python 3.6.4 I have the following (simplified) custom image model, linked to PhotoType and PhotoPlate via m2m relationships: from wagtail.images.models import AbstractImage from modelcluster.fields import ParentalManyToManyField from modelcluster.models import ClusterableModel class PhotoType(models.Model): title = models.CharField(verbose_name='Title', max_length=255, blank=False, null=False, default=None) class PhotoPlate(models.Model): plate= models