Addendum: the Release model is declared as follows:
from django.db import models
from tinymce import models as tinymce_models
from artists.models import Artist
from bands.models import Band
from labels.models import Label
class Release(models.Model):
artist = models.ForeignKey(Artist,
Hi,
I have two models, ReleaseImageGallery and ReleaseImage as follows:
class ReleaseImageGallery(BaseImageGallery):
release = models.ForeignKey(Release, on_delete=models.CASCADE)
class Meta:
verbose_name = "release image gallery"
verbose_name_plural = "release image galleries"
and
class
2 matches
Mail list logo