diff options
author | Andrew Godwin | 2022-11-25 18:32:45 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-25 18:32:45 -0700 |
commit | 1cf1f2e5430e1946b6f7520e4d339de82a392c21 (patch) | |
tree | 7b98e05795153868fe3a6d53e0633b7b4d8d5684 /core | |
parent | 5fe5f0495518e43aa4ab9f6831c4bc27a0be9458 (diff) | |
download | takahe-1cf1f2e5430e1946b6f7520e4d339de82a392c21.tar.gz takahe-1cf1f2e5430e1946b6f7520e4d339de82a392c21.tar.bz2 takahe-1cf1f2e5430e1946b6f7520e4d339de82a392c21.zip |
Implement user discoverability
Diffstat (limited to 'core')
-rw-r--r-- | core/views.py | 5 |
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], } |