diff --git a/apps/greencheck/views.py b/apps/greencheck/views.py index b88d6e71..42f0a816 100644 --- a/apps/greencheck/views.py +++ b/apps/greencheck/views.py @@ -248,7 +248,10 @@ def get_context_data(self, *args, **kwargs): of providers """ - queryset = Hostingprovider.objects.filter(showonwebsite=True).prefetch_related( + queryset = Hostingprovider.objects.filter( + showonwebsite=True, + archived=False + ).prefetch_related( "services" )