This commit is contained in:
j 2022-04-12 14:12:25 +01:00
parent d02d255808
commit 6f997abde2

View file

@ -30,6 +30,7 @@ class Event(models.Model):
def get_absolute_url(self):
return '/' + settings.URL_PREFIX + '#' + self.slug
@property
def display_date(self):
date = self.date.split(' ')
start = date[0].split('-')