Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelm committed Jan 29, 2024
1 parent aa9d526 commit 467469f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pretix/presale/views/organizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ class DayCalendarView(OrganizerViewMixin, EventListMixin, TemplateView):

def _set_date_to_next_event(self):
now_dt = now()
next_ev = filter_qs_by_attr(Event.objects.using(settings.DATABASE_REPLICA).anootate(
next_ev = filter_qs_by_attr(Event.objects.using(settings.DATABASE_REPLICA).annotate(
effective_date=Case(
When(date_from__lt=now_dt, date_to__isnull=False, date_to__gte=now_dt, then=Value(now_dt)),
default=F('date_from'),
Expand Down

0 comments on commit 467469f

Please sign in to comment.