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.

feat(tasks): surface Task.internal in Django admin (#67889)

Michael Matloka3b4ae6184a8a
diff --git a/products/tasks/backend/admin.py b/products/tasks/backend/admin.py
index bcd7c4e1a616..ef74106a1cbd 100644
--- a/products/tasks/backend/admin.py
+++ b/products/tasks/backend/admin.py
@@ -11,14 +11,14 @@ from .models import CodeInvite, CodeInviteRedemption, SandboxSnapshot, Task, Tas
@admin.register(Task)
class TaskAdmin(admin.ModelAdmin):
- list_display = ("slug", "title", "origin_product", "team", "created_by", "created_at", "deleted")
- list_filter = ("origin_product", "deleted", "created_at")
+ list_display = ("slug", "title", "origin_product", "internal", "team", "created_by", "created_at", "deleted")
+ list_filter = ("origin_product", "internal", "deleted", "created_at")
search_fields = ("title", "description", "repository")
readonly_fields = ("id", "slug", "task_number", "created_at", "updated_at", "deleted_at")
autocomplete_fields = ("team", "created_by", "github_integration", "github_user_integration")
fieldsets = (
- (None, {"fields": ("id", "slug", "task_number", "title", "description", "origin_product")}),
+ (None, {"fields": ("id", "slug", "task_number", "title", "description", "origin_product", "internal")}),
("Team & User", {"fields": ("team", "created_by")}),
("Repository", {"fields": ("github_integration", "github_user_integration", "repository")}),
("Schema", {"fields": ("json_schema",)}),