Skip to content

[python] Add django framework#15135

Merged
dnwpark merged 8 commits intomainfrom
dnwpark/django
Feb 19, 2026
Merged

[python] Add django framework#15135
dnwpark merged 8 commits intomainfrom
dnwpark/django

Conversation

@dnwpark
Copy link
Copy Markdown
Contributor

@dnwpark dnwpark commented Feb 19, 2026

  • Add django to frameworks.ts and PYTHON_FRAMEWORKS
  • Add application as a valid entry point

Note

Low Risk Change

This PR adds Django framework support by adding example files, framework configuration, and extending entrypoint detection to recognize 'application' variable alongside 'app' - all additive changes with no security implications.

  • Adds Django example project with settings, views, and WSGI config
  • Extends Python entrypoint detection to recognize 'application' callable for Django
  • Adds Django to frameworks.ts with detection rules and default routes

Risk assessment for commit f315dbe.

@dnwpark dnwpark requested review from a team as code owners February 19, 2026 02:22
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Feb 19, 2026

🦋 Changeset detected

Latest commit: f315dbe

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 19, 2026

📦 CLI Tarball Ready

The Vercel CLI tarball for this PR is now available!

Quick Test

You can test this PR's CLI directly by running:

npx https://vercel-r4z7ye5uf.vercel.sh/tarballs/vercel.tgz --help

Use in vercel.json

To use this CLI version in your project builds, add to your vercel.json:

{
  "build": {
    "env": {
      "VERCEL_CLI_VERSION": "vercel@https://vercel-r4z7ye5uf.vercel.sh/tarballs/vercel.tgz"
    }
  }
}

Python Runtime Wheel

A Python runtime wheel was also built for this PR.
To use in your Python project builds, also set this environment variable:

VERCEL_RUNTIME_PYTHON="vercel-runtime @ https://vercel-r4z7ye5uf.vercel.sh/tarballs/vercel_runtime-0.5.0.dev1771526505+f315dbe-py3-none-any.whl"

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 19, 2026

🧪 Unit Test Strategy

Comparing: 95d8614f315dbe (view diff)

Strategy: Code changed outside of a package - running all unit tests

⚠️ All unit tests will run because global code changes could impact all packages.

Affected packages - 40 (100%)
  1. @vercel-internals/get-package-json
  2. @vercel/backends
  3. @vercel/build-utils
  4. @vercel/cervel
  5. @vercel/cli-auth
  6. @vercel/client
  7. @vercel/config
  8. @vercel/detect-agent
  9. @vercel/edge
  10. @vercel/elysia
  11. @vercel/error-utils
  12. @vercel/express
  13. @vercel/fastify
  14. @vercel/firewall
  15. @vercel/frameworks
  16. @vercel/fs-detectors
  17. @vercel/functions
  18. @vercel/gatsby-plugin-vercel-builder
  19. @vercel/go
  20. @vercel/h3
  21. @vercel/hono
  22. @vercel/hydrogen
  23. @vercel/koa
  24. @vercel/nestjs
  25. @vercel/next
  26. @vercel/node
  27. @vercel/oidc
  28. @vercel/oidc-aws-credentials-provider
  29. @vercel/python
  30. @vercel/python-analysis
  31. @vercel/redwood
  32. @vercel/related-projects
  33. @vercel/remix-builder
  34. @vercel/routing-utils
  35. @vercel/ruby
  36. @vercel/rust
  37. @vercel/static-build
  38. @vercel/static-config
  39. examples
  40. vercel

Results

  • Unit tests: All affected packages will run unit tests
  • E2E tests: Running in parallel via E2E Tests workflow
  • Type checks: All affected packages will run type checks

This comment is automatically generated based on the affected testing strategy

Copy link
Copy Markdown
Contributor

@ricardo-agz ricardo-agz left a comment

Choose a reason for hiding this comment

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

Nice!

@dnwpark dnwpark merged commit e1c9520 into main Feb 19, 2026
477 of 482 checks passed
@dnwpark dnwpark deleted the dnwpark/django branch February 19, 2026 19:18
dnwpark added a commit that referenced this pull request Feb 20, 2026
#15135 didn't have a proper changeset
Comment on lines +31 to +33
python run.py
# using uv:
uv run run.py
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Would vercel dev work also?

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