Python formatting

This commit is contained in:
Mouse Reeve 2021-03-24 08:39:37 -07:00
parent 1707bba8a8
commit 320dfd1a59
2 changed files with 4 additions and 3 deletions

View file

@ -6,12 +6,12 @@ from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('bookwyrm', '0057_user_discoverable'),
("bookwyrm", "0057_user_discoverable"),
]
operations = [
migrations.AlterModelOptions(
name='status',
options={'ordering': ('-published_date',)},
name="status",
options={"ordering": ("-published_date",)},
),
]

View file

@ -60,6 +60,7 @@ class Status(OrderedCollectionPageMixin, BookWyrmModel):
class Meta:
""" default sorting """
ordering = ("-published_date",)
def save(self, *args, **kwargs):