Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: crash when previewing Event Listing Page #370

Merged
merged 1 commit into from
Dec 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions ietf/events/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ def upcoming_events(self):
.descendant_of(self)
.live()
.exclude(
pk__in=self.promoted_events.all().values_list(
"promoted_event__pk", flat=True
id__in=self.promoted_events.all().values_list(
"promoted_event__id", flat=True
)
)
.order_by("start_date")
Expand All @@ -224,8 +224,8 @@ def past_events(self):
.descendant_of(self)
.live()
.exclude(
pk__in=self.promoted_events.all().values_list(
"promoted_event__pk", flat=True
id__in=self.promoted_events.all().values_list(
"promoted_event__id", flat=True
)
)
.order_by("-start_date")
Expand Down
Loading