Skip to content

Commit

Permalink
chore(admin): Expose team UUID (#22947)
Browse files Browse the repository at this point in the history
  • Loading branch information
Twixes authored Jun 13, 2024
1 parent c581b38 commit 304089c
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions posthog/admin/admins/team_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,31 @@ class TeamAdmin(admin.ModelAdmin):
list_select_related = ("organization", "project")
search_fields = (
"id",
"uuid",
"name",
"organization__id",
"organization__name",
"project__id",
"project__name",
"api_token",
)
readonly_fields = ["id", "organization", "primary_dashboard", "test_account_filters", "created_at", "updated_at"]
readonly_fields = [
"id",
"uuid",
"organization",
"primary_dashboard",
"test_account_filters",
"created_at",
"updated_at",
]
autocomplete_fields = ["project"]

inlines = [GroupTypeMappingInline, ActionInline]
fieldsets = [
(
None,
{
"fields": ["name", "organization", "project"],
"fields": ["name", "id", "uuid", "organization", "project"],
},
),
(
Expand Down

0 comments on commit 304089c

Please sign in to comment.