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 = [
migrations.AlterModelOptions(
name="book",
options={
"ordering": ["authors__last_name", "title"],
"verbose_name_plural": "Rolling stock",
},
options={"ordering": ["authors__last_name", "title"]},
),
]

View File

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