summaryrefslogtreecommitdiff
path: root/app/essays/models.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-03-03 15:35:50 -0600
committerluxagraf <sng@luxagraf.net>2019-03-03 15:35:50 -0600
commit742820a0f6ad0c8e05d127d48b3724ebef1b702a (patch)
tree5eeab9df03afea7569463e5f7e465412e19a5d06 /app/essays/models.py
parenta7d51bb569ce2c3ff0830e4cd2a1369dd75dd05f (diff)
migrated essays to new field_notes
Diffstat (limited to 'app/essays/models.py')
-rw-r--r--app/essays/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/essays/models.py b/app/essays/models.py
index 32ed053..5a29667 100644
--- a/app/essays/models.py
+++ b/app/essays/models.py
@@ -8,7 +8,7 @@ from taggit.managers import TaggableManager
from taxonomy.models import TaggedItems
from utils.util import render_images, markdown_to_html
-from sketches.models import Sketch
+from fieldnotes.models import FieldNote
from books.models import Book
from photos.models import LuxImage
@@ -43,7 +43,7 @@ class Essay(models.Model):
originally_published_by_url = models.CharField(max_length=400, blank=True)
featured_image = models.ForeignKey(LuxImage, on_delete=models.CASCADE, null=True, blank=True)
has_video = models.BooleanField(blank=True, default=False)
- field_notes = models.ManyToManyField(Sketch, blank=True)
+ field_notes = models.ManyToManyField(FieldNote, blank=True)
books = models.ManyToManyField(Book, blank=True)
afterword = models.TextField(blank=True)
afterword_html = models.TextField(blank=True)