summaryrefslogtreecommitdiff
path: root/app/jrnl/models.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-12-05 17:23:13 -0500
committerluxagraf <sng@luxagraf.net>2019-12-05 17:23:13 -0500
commit5ac5b651cbfca1c7b47831eb00ed6243a4d11497 (patch)
tree12fde95e472e961bc3a6455b96daea91b229a992 /app/jrnl/models.py
parentf0ec998d9c732ba9bec234851f8d21a898279715 (diff)
migrated to new related posts structure
Diffstat (limited to 'app/jrnl/models.py')
-rw-r--r--app/jrnl/models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/jrnl/models.py b/app/jrnl/models.py
index a9be032..6b0b154 100644
--- a/app/jrnl/models.py
+++ b/app/jrnl/models.py
@@ -79,7 +79,8 @@ class Entry(models.Model):
has_video = models.BooleanField(blank=True, default=False)
field_notes = models.ManyToManyField(FieldNote, blank=True)
books = models.ManyToManyField(Book, related_name="luxbooks", blank=True)
- related = models.ManyToManyField(OldRelatedPost, blank=True)
+ oldrelated = models.ManyToManyField(OldRelatedPost, blank=True)
+ newrelated = models.ManyToManyField(RelatedPost, blank=True)
class Meta:
ordering = ('-pub_date',)