summaryrefslogtreecommitdiff
path: root/app/books/models.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2024-07-24 16:37:26 -0500
committerluxagraf <sng@luxagraf.net>2024-07-24 16:37:26 -0500
commit88e0f0ac2bd5874256bf7e84fa460965bacdd761 (patch)
treec79a3cc81a2a85be809605b9042b00ca32db095c /app/books/models.py
parent074ec1e21a7bfa867bbb2c35057c19b5cfc375c4 (diff)
general update
Diffstat (limited to 'app/books/models.py')
-rw-r--r--app/books/models.py5
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)