Add the possbility to provide descriptions (#32)

to class, rolling stock, book
This commit is contained in:
2024-03-02 15:45:42 +01:00
committed by GitHub
parent e7d34ce8e0
commit 4b74a69f3f
9 changed files with 66 additions and 3 deletions

View File

@@ -52,6 +52,7 @@ class Book(models.Model):
)
number_of_pages = models.SmallIntegerField(null=True, blank=True)
publication_year = models.SmallIntegerField(null=True, blank=True)
description = tinymce.HTMLField(blank=True)
purchase_date = models.DateField(null=True, blank=True)
tags = models.ManyToManyField(
Tag, related_name="bookshelf", blank=True