The best Django hosting in 2026
Your Django app works locally. To take it to production with its PostgreSQL database, with no server to maintain, seven hosts compete, from free for learning to certified for health data. We compared them in November 2026.
By Grégoire Mougeolle, co-founder of Nextmap. Facts checked on November 19, 2026.
A Django app can go to production almost anywhere Python runs, but not every host is equal for Django: you need a PostgreSQL database, migrations applied at each version, static files served, and a production configuration that follows Django’s deployment checklist10. We compared seven Django hosting options, from free for learning to certified for health data.
Our verdict. For a Django app your AI takes to production, while. It is set up according to Django’s deployment checklist and billed by the second, with no subscription. Its database is backed up every day in France. PythonAnywhere only to learn Django in your browser, and Scalingo for health data or SecNumCloud.
The 7 Django hosting options at a glance
| Host | Smallest server | Free plan | PostgreSQL database | Closest to France |
|---|---|---|---|---|
| while | See pricing | A trial with no sign-up, the Libre plan | With the app, backed up every day | In France |
| Heroku | Basic at $7 per month | None | Essential-0 at $5 per month | Europe |
| Render | $7 per month, 512 MB | A service that sleeps | From $6 per month | Frankfurt |
| Railway | Hobby at $5 per month, with $5 of usage | $1 of credit per month after the trial | On request | Amsterdam |
| PythonAnywhere | Developer at $10 per month | Beginner, one app | An option on Custom, MySQL included | Not stated |
| Scalingo | €7.20 excl. VAT for 30 days, 256 MB | A free start at sign-up | Starter at €7.20 excl. VAT | Paris |
| Clever Cloud | €4.50 for 30 days, 256 MB | Credits at sign-up | Free for development, dedicated at €5.25 | Paris |
Each host’s facts come from its pricing page and documentation, cited as sources.
Try while on your tool, no sign-up. Copy the message
Hosting Django for free, and its limits
PythonAnywhere is the classic starting point to learn Django: the Beginner plan is free, with one app at a pythonanywhere.com address and 100 CPU-seconds per day6. Render has a free web service, which sleeps after 15 minutes without traffic, and a free Postgres database that expires after 30 days4. Railway gives $1 of credit per month after the trial5, and Clever Cloud credits at sign-up, with a free development PostgreSQL database, shared and without backups8.
For a school project or a demo, these plans are enough. For an app whose data matters, the sleep and the expiring database are a problem, and a small paid plan becomes necessary.
A Django app and its database, cheap
A Django app does not live without its database, and the database often sets the price. At Heroku, a Basic dyno costs $7 per month and an Essential-0 database $5, about $121,2. At Render, $7 for 512 MB and $6 for the first paid database, $133. At Clever Cloud, €4.50 on pico and €5.25 for the first dedicated database, under €108.
PythonAnywhere Developer costs $10 per month for one app on your domain and 5,000 CPU-seconds per day, with MySQL included, and a Postgres server as an option on the Custom plan6.

while, your Django app in production by your AI
We built while for the apps your AI takes to production. Claude Code, Cursor or Codex connects to while over MCP, with OAuth. Your Django app is detected and installed from requirements.txt, with no Dockerfile, and your AI sets it up for production per Django’s checklist: DEBUG off, SECRET_KEY and ALLOWED_HOSTS read from the environment, the database read from DATABASE_URL, static files served by WhiteNoise and the app served by gunicorn.
You, to your AI: Put my Django app in production on while, with its PostgreSQL database, and apply migrations at every start.
- Migrations and static files run before every start, through a Procfile your AI adds.
- Your AI reads the database in SQL, with your rights on the data, without being able to write to it.
- What matters waits for a person, a production release, deleting a database, an outside API, an access.
- The database is backed up every day, with a way back over 14 days, and everything runs in France, at Nextmap.
For the step by step, follow our guide for a Django app and its PostgreSQL database.
Who it is for: a Django app your AI takes all the way to production, with its data in France.
Heroku, a Django classic
Heroku is a classic for Django. It runs your Python code on dynos, from $5 on Eco, which sleeps, to $25 on Standard-1X per month1, with a Europe region.
Who it is for: a Django app already on Heroku that must keep running unchanged.
Render, to start for free
Render takes a Django app to production from a Git repository, free with the sleep, then $7 per month for 512 MB3,4. Its closest region is Frankfurt.
Who it is for: trying for free, then moving to a small paid instance.
Railway, in a few minutes
Railway takes a Git repository to production and creates a PostgreSQL database on request, at $5 per month on Hobby with $5 of usage included5. Its closest region is Amsterdam.
Who it is for: a small project that wants to pay for what it uses.
PythonAnywhere, to learn Django
PythonAnywhere puts a complete Python environment in the browser, with consoles and Jupyter, and its free plan is enough for a first Django site6. The Developer plan runs a single web app.
Who it is for: learning Django, or a small personal site.
Scalingo, for compliance in France
Scalingo runs your apps in Paris, at €7.20 excl. VAT for 30 days and 256 MB, and €7.20 excl. VAT for the first Starter database. It is HDS certified on a Business or Enterprise plan with at least two containers, and opens a SecNumCloud region on request7.
Who it is for: a Django app that handles health data, or requires SecNumCloud.
Clever Cloud, a French host billed by the second
Clever Cloud runs your Python apps in its French zones, from €4.50 on pico to €16 on XS for 1 GB, billed by the second8. It is ISO 27001 and HDS certified9.
Who it is for: a technical team that wants to tune each instance, in France.
Which one to choose
| Your situation | Our pick |
|---|---|
| Pay by the second for what runs, with no subscription | while |
| A preview per branch, with its own data | while |
| The team signed in with their email account, a client with a password | while |
| Your AI takes the app to production, in France | while |
| Learning Django for free | PythonAnywhere |
| Health data, SecNumCloud | Scalingo |
For an API without templates, read the best hosting for a Python API, for the database alone, PostgreSQL hosting, and for PythonAnywhere in detail, PythonAnywhere or while. To try while, give this message to your AI. The trial is free, with no sign-up, and your app has its address in 3 minutes.
Read while.sh/agents and help me get started with while.
How we chose
On November 19, 2026, we read the pricing pages and documentation of Heroku, Render, Railway, PythonAnywhere, Scalingo and Clever Cloud, and Django’s deployment checklist, cited as sources, reusing our November 18 reading for Clever Cloud’s prices. Prices are for each host’s smallest size, in dollars or euros as they display them. We use while every day, and we compared the seven hosts on price, free plan, PostgreSQL database and region.
Sources
- Heroku, Pricing, accessed November 19, 2026
- Heroku, Heroku Postgres plans, accessed November 19, 2026
- Render, Pricing, accessed November 19, 2026
- Render, Deploy for free, accessed November 19, 2026
- Railway, Pricing, accessed November 19, 2026
- PythonAnywhere, Plans and pricing, accessed November 19, 2026
- Scalingo, Pricing, accessed November 19, 2026
- Clever Cloud, Pricing and estimator, accessed November 18, 2026
- Clever Cloud, Security and certifications, accessed November 19, 2026
- Django, Deployment checklist, accessed November 19, 2026