Fix a copy-paste issue in bookshelf model

This commit is contained in:
2023-10-03 22:26:51 +02:00
parent bf8c2331c0
commit 4f52736d97
2 changed files with 1 additions and 5 deletions

View File

@@ -12,9 +12,6 @@ class Migration(migrations.Migration):
operations = [ operations = [
migrations.AlterModelOptions( migrations.AlterModelOptions(
name="book", name="book",
options={ options={"ordering": ["authors__last_name", "title"]},
"ordering": ["authors__last_name", "title"],
"verbose_name_plural": "Rolling stock",
},
), ),
] ]

View File

@@ -54,7 +54,6 @@ class Book(models.Model):
class Meta: class Meta:
ordering = ["authors__last_name", "title"] ordering = ["authors__last_name", "title"]
verbose_name_plural = "Rolling stock"
def __str__(self): def __str__(self):
return self.title return self.title