🔧 change event list display
This commit is contained in:
parent
513baaca45
commit
2ede0560a5
|
|
@ -155,10 +155,10 @@ class Calendar(models.Model):
|
||||||
return ", ".join([a.name for a in self.alternatives.all()])
|
return ", ".join([a.name for a in self.alternatives.all()])
|
||||||
|
|
||||||
|
|
||||||
@app.admin(ordering=("start", "end", "calendar", "name"),
|
@app.admin(ordering=("created", "start", "end", "calendar", "name"),
|
||||||
list_filter=("cancelled",),
|
list_filter=("cancelled",),
|
||||||
list_display=("name", "calendar", "created", "duration", "start",
|
list_display=("name", "calendar", "created", "duration", "start",
|
||||||
"end"))
|
"end", "cancelled"))
|
||||||
class Event(models.Model):
|
class Event(models.Model):
|
||||||
"""
|
"""
|
||||||
Event model to store events in a calendar and send them to a CalDAV server.
|
Event model to store events in a calendar and send them to a CalDAV server.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue