From 1cf1f2e5430e1946b6f7520e4d339de82a392c21 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Fri, 25 Nov 2022 18:32:45 -0700 Subject: Implement user discoverability --- core/views.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'core') diff --git a/core/views.py b/core/views.py index fdc6642..889fa27 100644 --- a/core/views.py +++ b/core/views.py @@ -19,7 +19,10 @@ class LoggedOutHomepage(TemplateView): def get_context_data(self): return { - "identities": Identity.objects.filter(local=True).order_by("-created")[:20], + "identities": Identity.objects.filter( + local=True, + discoverable=True, + ).order_by("-created")[:20], } -- cgit v1.2.3