summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-25 18:32:45 -0700
committerAndrew Godwin2022-11-25 18:32:45 -0700
commit1cf1f2e5430e1946b6f7520e4d339de82a392c21 (patch)
tree7b98e05795153868fe3a6d53e0633b7b4d8d5684 /core
parent5fe5f0495518e43aa4ab9f6831c4bc27a0be9458 (diff)
downloadtakahe-1cf1f2e5430e1946b6f7520e4d339de82a392c21.tar.gz
takahe-1cf1f2e5430e1946b6f7520e4d339de82a392c21.tar.bz2
takahe-1cf1f2e5430e1946b6f7520e4d339de82a392c21.zip
Implement user discoverability
Diffstat (limited to 'core')
-rw-r--r--core/views.py5
1 files changed, 4 insertions, 1 deletions
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],
}