Fix guide parent
This commit is contained in:
parent
b4a2893fcd
commit
eca921592d
|
|
@ -91,7 +91,9 @@ class GuideQuerySet(models.QuerySet):
|
||||||
class Guide(ProjectBaseMixin, CollectionNameMixin, CollectionDateMixin):
|
class Guide(ProjectBaseMixin, CollectionNameMixin, CollectionDateMixin):
|
||||||
"""Guide model."""
|
"""Guide model."""
|
||||||
parent = models.ForeignKey(
|
parent = models.ForeignKey(
|
||||||
'self', verbose_name=_('parent'), on_delete=models.CASCADE)
|
'self', verbose_name=_('parent'), on_delete=models.CASCADE,
|
||||||
|
null=True, blank=True, default=None
|
||||||
|
)
|
||||||
advertorials = JSONField(
|
advertorials = JSONField(
|
||||||
_('advertorials'), null=True, blank=True,
|
_('advertorials'), null=True, blank=True,
|
||||||
default=None, help_text='{"key":"value"}')
|
default=None, help_text='{"key":"value"}')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user