summaryrefslogtreecommitdiff
path: root/app/jrnl/models.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-11-11 21:49:34 -0500
committerluxagraf <sng@luxagraf.net>2020-11-11 21:49:34 -0500
commit199184b3b680bc4c8878bf11a60c0fbf72fb612f (patch)
tree92195ea8a1ba5e61fefca51896c2b8e01cdeaf43 /app/jrnl/models.py
parent129a8545b520380a8567a4e7405634250f3d7da5 (diff)
removed some things I wasn't using to clean up code base
Diffstat (limited to 'app/jrnl/models.py')
-rw-r--r--app/jrnl/models.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/jrnl/models.py b/app/jrnl/models.py
index 830a244..f3c0626 100644
--- a/app/jrnl/models.py
+++ b/app/jrnl/models.py
@@ -24,7 +24,6 @@ from django_comments.moderation import CommentModerator, moderator
from photos.models import PhotoGallery, LuxImage, LuxImageSize
from locations.models import Location
from books.models import Book
-from fieldnotes.models import FieldNote
from posts.models import Post
from normalize.models import RelatedPost
@@ -78,7 +77,7 @@ class Entry(models.Model):
template_name = models.IntegerField(choices=TEMPLATES, default=0)
featured_image = models.ForeignKey(LuxImage, on_delete=models.CASCADE, null=True, blank=True)
has_video = models.BooleanField(blank=True, default=False)
- old_field_notes = models.ManyToManyField(FieldNote, blank=True)
+ #old_field_notes = models.ManyToManyField(FieldNote, blank=True)
field_notes = models.ManyToManyField(Post, blank=True, limit_choices_to={'post_type': 5})
books = models.ManyToManyField(Book, related_name="luxbooks", blank=True)
oldrelated = models.ManyToManyField(OldRelatedPost, blank=True)