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 = [
|
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",
|
|
||||||
},
|
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user