Skip to content

Commit c76dbd8

Browse files
committed
Solve merge conflict issue (PR #8821)
1 parent cf662a2 commit c76dbd8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

readthedocs/projects/views/private.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,10 @@ class IntegrationExchangeDetail(IntegrationMixin, DetailView):
919919
template_name = 'projects/integration_exchange_detail.html'
920920

921921
def get_queryset(self):
922-
return self.model.objects.filter(integrations=self.get_integration())
922+
# NOTE: We are explicitly using the id instead of the the object
923+
# to avoid a bug where the id is wrongly casted as an uuid.
924+
# https://code.djangoproject.com/ticket/33450
925+
return self.model.objects.filter(integrations__id=self.get_integration().id)
923926

924927
def get_object(self):
925928
return DetailView.get_object(self)

0 commit comments

Comments
 (0)