diff options
author | luxagraf <sng@luxagraf.net> | 2024-07-24 16:37:26 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2024-07-24 16:37:26 -0500 |
commit | 88e0f0ac2bd5874256bf7e84fa460965bacdd761 (patch) | |
tree | c79a3cc81a2a85be809605b9042b00ca32db095c /app/books/models.py | |
parent | 074ec1e21a7bfa867bbb2c35057c19b5cfc375c4 (diff) |
general update
Diffstat (limited to 'app/books/models.py')
-rw-r--r-- | app/books/models.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/books/models.py b/app/books/models.py index 0e17621..d4410fb 100644 --- a/app/books/models.py +++ b/app/books/models.py @@ -9,9 +9,6 @@ from django.apps import apps from django.utils.html import format_html from django.conf import settings -# allows for manually ordering items: -from orderable.models import Orderable - from media.utils import resize_image from utils.util import markdown_to_html @@ -20,7 +17,7 @@ def get_upload_path(self, filename): return "wandrenbooks.net/media/images/book-covers/%s" % (filename) -class Book(Orderable): +class Book(models.Model): title = models.CharField(max_length=200) author_last_name = models.CharField(max_length=200) author_first_name = models.CharField(max_length=200) |