mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-17 13:46:35 +00:00
Python formatting
This commit is contained in:
parent
1707bba8a8
commit
320dfd1a59
2 changed files with 4 additions and 3 deletions
|
@ -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",)},
|
||||
),
|
||||
]
|
||||
|
|
|
@ -60,6 +60,7 @@ class Status(OrderedCollectionPageMixin, BookWyrmModel):
|
|||
|
||||
class Meta:
|
||||
""" default sorting """
|
||||
|
||||
ordering = ("-published_date",)
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
|
|
Loading…
Reference in a new issue