mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 13:17:50 +02:00
Fix a copy-paste issue in bookshelf model
This commit is contained in:
@@ -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"]},
|
||||
),
|
||||
]
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user