: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
from django.apps import AppConfig
class CohortsConfig(AppConfig):
# AutoField (INT4) matches the legacy posthog app default so existing
# posthog_cohort / posthog_cohortpeople id columns stay compatible with the
# Rust flags/cohorts services which decode id as i32.
default_auto_field = "django.db.models.AutoField"
name = "products.cohorts.backend"
label = "cohorts"