Skip to content

Commit

Permalink
Update views.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ee Durbin <ewdurbin@gmail.com>
  • Loading branch information
JacobCoffee and ewdurbin authored Sep 16, 2024
1 parent 64a229f commit 1f744ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def get_queryset(self) -> Event:
return Event.objects.all().order_by("-occurring_rule__dt_start")

def get_context_data(self, **kwargs: dict) -> dict:
"""Add more ctx, specifically events that are happening now, just misse, and upcoming."""
"""Add more ctx, specifically events that are happening now, just missed, and upcoming."""
context = super().get_context_data(**kwargs)
context["events_just_missed"] = Event.objects.until_datetime(timezone.now())[:2]
context["upcoming_events"] = Event.objects.for_datetime(timezone.now())
Expand Down

0 comments on commit 1f744ee

Please sign in to comment.