Skip to content

Conversation

@sarahxsanders
Copy link

adds Django support to the wizard:

  • detects Django w/ requirements files + manage.py
  • added Django agent and detection utilities
  • modified integration enum, config, and run.ts to support Django
  • agent prompt updated to handle Python projects (and other projects w/o package.json)

feature flag wizard-django is disabled, will enable after merge: https://us.posthog.com/project/2/feature_flags/431237

Testing

to test, I built the wizard from this branch + ran it against a sample project + doubled down and ran it against my examples repo project. wizard successfully detected Django and initialized PostHog, added middleware, added events to views, and created setup report. also ran the wizard-workbench eval w/ a 4/5 confidence score on both projects

@sarahxsanders sarahxsanders requested a review from a team January 15, 2026 22:20
Copy link
Collaborator

@daniloc daniloc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

really cool. Small architectural tweak you can do now or defer to a cleanup run (assuming you can run this against, say, a Next project and it doesn't do anything weird)

@sarahxsanders
Copy link
Author

for the conflict: https://github.com/PostHog/wizard/pull/230/conflicts @daniloc

are the incoming changes the correct ones?

@daniloc
Copy link
Collaborator

daniloc commented Jan 16, 2026

yes: we need the new startup prompt for sure because it triggers the skill-based integration instead of using MCP resources

@sarahxsanders sarahxsanders changed the title add django skill add: django skill Jan 16, 2026
@sarahxsanders sarahxsanders changed the title add: django skill feat: django skill Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants