We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf662a2 commit c76dbd8Copy full SHA for c76dbd8
readthedocs/projects/views/private.py
@@ -919,7 +919,10 @@ class IntegrationExchangeDetail(IntegrationMixin, DetailView):
919
template_name = 'projects/integration_exchange_detail.html'
920
921
def get_queryset(self):
922
- return self.model.objects.filter(integrations=self.get_integration())
+ # 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)
926
927
def get_object(self):
928
return DetailView.get_object(self)
0 commit comments