Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Django WSGI Example

Deploy to Cloudflare

This example runs a small, conventional Django project directly on Cloudflare Workers using Django's WSGI application.

How to Run

First ensure that uv is installed: https://docs.astral.sh/uv/getting-started/installation/#standalone-installer

Run:

uv run pywrangler dev

Then try:

curl http://localhost:8787/

You should receive:

{"message": "Hello from Django on Cloudflare Workers!"}

You can also deploy with:

uv run pywrangler deploy