Skip to content

Commit

Permalink
Update events/models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobCoffee authored Sep 12, 2024
1 parent 8377c87 commit 9a979bf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions events/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,7 @@ class OccurringRule(RuleMixin, models.Model):

def __str__(self):
strftime = settings.SHORT_DATETIME_FORMAT
return (
f'{self.event.title} {date(self.dt_start, strftime)} - '
f'{date(self.dt_end, strftime)}'
)
return f'{self.event.title} {date(self.dt_start, strftime)} - {date(self.dt_end, strftime)}'

@property
def begin(self):
Expand Down

0 comments on commit 9a979bf

Please sign in to comment.