Skip to content

Commit b11c2fa

Browse files
committed
Change ordering in Meta class to descending publish and title ascending
1 parent 2a0e6d8 commit b11c2fa

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Generated by Django 3.2.8 on 2021-10-23 00:05
2+
3+
from django.db import migrations
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('blog', '0004_auto_20211022_1403'),
10+
]
11+
12+
operations = [
13+
migrations.AlterModelOptions(
14+
name='post',
15+
options={'ordering': ['-publish', 'title'], 'verbose_name': 'post', 'verbose_name_plural': 'posts'},
16+
),
17+
]

0 commit comments

Comments
 (0)