Skip to content

Commit 9a979bf

Browse files
authored
Update events/models.py
1 parent 8377c87 commit 9a979bf

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

events/models.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,10 +237,7 @@ class OccurringRule(RuleMixin, models.Model):
237237

238238
def __str__(self):
239239
strftime = settings.SHORT_DATETIME_FORMAT
240-
return (
241-
f'{self.event.title} {date(self.dt_start, strftime)} - '
242-
f'{date(self.dt_end, strftime)}'
243-
)
240+
return f'{self.event.title} {date(self.dt_start, strftime)} - {date(self.dt_end, strftime)}'
244241

245242
@property
246243
def begin(self):

0 commit comments

Comments
 (0)