nur slug für fs sitzung wenn noch keiner vorhanden

This commit is contained in:
2020-09-08 05:53:26 +00:00
parent abdbe58a6b
commit fbd406290f

View File

@@ -255,9 +255,10 @@ class FetMeeting(Event):
def save(self, *args, **kwargs):
self.title = "Fachschaftssitzung"
self.slug = slugify(self.event_start.date()) + "-" + slugify(self.title)
if not self.slug:
self.slug = slugify(self.event_start.date()) + "-" + slugify(self.title)
self.body = "TODO: Agenda + Protokoll Link"
# TODO
# self.image