Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(admin): rm person distinct id admin page (#64413)

Nick Bestc890b5912cf5
diff --git a/posthog/admin/admins/person_distinct_id_admin.py b/posthog/admin/admins/person_distinct_id_admin.py
deleted file mode 100644
index 9c188e297a80..000000000000
--- a/posthog/admin/admins/person_distinct_id_admin.py
+++ /dev/null
@@ -1,14 +0,0 @@
-from django.contrib import admin
-
-from posthog.admin.paginators.no_count_paginator import NoCountPaginator
-from posthog.models import PersonDistinctId
-
-
[email protected](PersonDistinctId)
-class PersonDistinctIdAdmin(admin.ModelAdmin):
- show_full_result_count = False # prevent count() queries to show the no of filtered results
- paginator = NoCountPaginator # prevent count() queries and return a fix page count instead
- list_display = ("id", "team", "distinct_id", "version")
- search_fields = ("id", "distinct_id")
- readonly_fields = ("person",)
- autocomplete_fields = ("team",)