summaryrefslogtreecommitdiff
path: root/app/books
diff options
context:
space:
mode:
Diffstat (limited to 'app/books')
-rw-r--r--app/books/models.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/app/books/models.py b/app/books/models.py
index 2aecaef..8e381ef 100644
--- a/app/books/models.py
+++ b/app/books/models.py
@@ -1,5 +1,4 @@
import os
-import datetime
from PIL import Image
from django.db import models
from django.db.models.signals import post_save
@@ -11,7 +10,7 @@ from django.conf import settings
from django.template.defaultfilters import slugify
from photos.utils import resize_image
-from utils.widgets import markdown_to_html
+from utils.util import markdown_to_html
def get_upload_path(self, filename):
@@ -115,7 +114,3 @@ class BookHighlight(models.Model):
def body_html(self):
return markdown_to_html(self.body_markdown)
-
-
-class BookNote(BookHighlight):
- pass