-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update ordering of models by 'updated_at' field
- Loading branch information
1 parent
3bd88a3
commit 128d197
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
49 changes: 49 additions & 0 deletions
49
courses/migrations/0020_alter_advertisement_options_alter_course_options_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Generated by Django 5.0.7 on 2024-08-04 14:12 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('courses', '0019_alter_advertisement_og_image_alter_course_og_image_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name='advertisement', | ||
options={'ordering': ['-updated_at']}, | ||
), | ||
migrations.AlterModelOptions( | ||
name='course', | ||
options={'ordering': ['-updated_at']}, | ||
), | ||
migrations.AlterModelOptions( | ||
name='educationalyear', | ||
options={'ordering': ['-updated_at']}, | ||
), | ||
migrations.AlterModelOptions( | ||
name='notification', | ||
options={'ordering': ['-updated_at']}, | ||
), | ||
migrations.AlterModelOptions( | ||
name='resource', | ||
options={'ordering': ['-updated_at']}, | ||
), | ||
migrations.AlterModelOptions( | ||
name='specialpage', | ||
options={'ordering': ['-updated_at']}, | ||
), | ||
migrations.AlterModelOptions( | ||
name='stream', | ||
options={'ordering': ['-updated_at']}, | ||
), | ||
migrations.AlterModelOptions( | ||
name='subject', | ||
options={'ordering': ['-updated_at']}, | ||
), | ||
migrations.AlterModelOptions( | ||
name='year', | ||
options={'ordering': ['-updated_at']}, | ||
), | ||
] |