membershipworks: Add default ordering by start field to EventExt

This commit is contained in:
Adam Goldsmith 2024-01-29 11:33:18 -05:00
parent 21fe7f66cd
commit dafd8cc620
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,16 @@
# Generated by Django 5.0.1 on 2024-01-29 19:17
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("membershipworks", "0009_eventext_materials_fee_included_in_price"),
]
operations = [
migrations.AlterModelOptions(
name="eventext",
options={"ordering": ["-start"], "verbose_name": "event"},
),
]

View File

@ -496,6 +496,7 @@ class EventExt(Event):
class Meta: class Meta:
verbose_name = "event" verbose_name = "event"
ordering = ["-start"]
class EventMeetingTime(models.Model): class EventMeetingTime(models.Model):