related fix
This commit is contained in:
parent
48083b09eb
commit
6ccd7b8e1a
|
@ -103,7 +103,7 @@ class Content(models.Model):
|
|||
place = models.CharField(max_length=255, null=True, blank=True)
|
||||
parents = models.ManyToManyField('Content', through='ContentContent', related_name="children")
|
||||
|
||||
related_content = SortedManyToManyField('Content', related_name='reverse_related_content')
|
||||
related_content = SortedManyToManyField('Content', null=True, blank=True, related_name='reverse_related_content')
|
||||
|
||||
resources = models.ManyToManyField('Resources', through='ContentResource', related_name="content")
|
||||
gallery = models.ForeignKey(Gallery, null=True, blank=True, related_name="content")
|
||||
|
|
Loading…
Reference in New Issue
Block a user