summaryrefslogtreecommitdiff
path: root/app/posts/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/posts/models.py')
-rw-r--r--app/posts/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/posts/models.py b/app/posts/models.py
index efe1904..cc6e1d5 100644
--- a/app/posts/models.py
+++ b/app/posts/models.py
@@ -47,6 +47,7 @@ class PostType(models.IntegerChoices):
JRNL = 4, ('jrnl')
FIELD_NOTE = 5, ('field note')
GUIDE = 6, ('guide')
+ FRIENDS = 7, ('friends')
class Post(models.Model):
@@ -95,6 +96,7 @@ class Post(models.Model):
originally_published_by_url = models.CharField(max_length=400, null=True, blank=True)
field_notes = models.ManyToManyField('self', blank=True, symmetrical=False, limit_choices_to = {'post_type': PostType.FIELD_NOTE})
books = models.ManyToManyField(Book, blank=True)
+ issue = models.PositiveIntegerField(null=True)
class Meta:
ordering = ('-pub_date',)