diff options
author | luxagraf <sng@luxagraf.net> | 2018-07-07 20:41:09 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2018-07-07 20:41:09 -0400 |
commit | 6a2393e6819ea09aeb559354a69746750aa8cbdf (patch) | |
tree | 0ac9890740f9afcd9720ea9b550a3895d95ecb50 /app/books/models.py | |
parent | fe13c3830c6b36fb8f78009a788650a992cb3070 (diff) |
added campsite model, refactored some code to avoid circular imports,
reorganized some auxilary functions and fixed broken build JS.
Diffstat (limited to 'app/books/models.py')
-rw-r--r-- | app/books/models.py | 7 |
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 |