membershipworks: Add default ordering by start field to EventExt
This commit is contained in:
parent
21fe7f66cd
commit
dafd8cc620
16
membershipworks/migrations/0010_alter_eventext_options.py
Normal file
16
membershipworks/migrations/0010_alter_eventext_options.py
Normal 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"},
|
||||
),
|
||||
]
|
@ -496,6 +496,7 @@ class EventExt(Event):
|
||||
|
||||
class Meta:
|
||||
verbose_name = "event"
|
||||
ordering = ["-start"]
|
||||
|
||||
|
||||
class EventMeetingTime(models.Model):
|
||||
|
Loading…
Reference in New Issue
Block a user