Skip to content

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.

View as Markdown

Best Django hosting in 2026 compared: host a Django app and its PostgreSQL database on Heroku, Render, Railway, PythonAnywhere, Scalingo, Clever Cloud or while, Django-friendly hosting in Europe, cheap and with no server to manage

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

HostSmallest serverFree planPostgreSQL databaseClosest to France
whileSee pricingA trial with no sign-up, the Libre planWith the app, backed up every dayIn France
HerokuBasic at $7 per monthNoneEssential-0 at $5 per monthEurope
Render$7 per month, 512 MBA service that sleepsFrom $6 per monthFrankfurt
RailwayHobby at $5 per month, with $5 of usage$1 of credit per month after the trialOn requestAmsterdam
PythonAnywhereDeveloper at $10 per monthBeginner, one appAn option on Custom, MySQL includedNot stated
Scalingo€7.20 excl. VAT for 30 days, 256 MBA free start at sign-upStarter at €7.20 excl. VATParis
Clever Cloud€4.50 for 30 days, 256 MBCredits at sign-upFree for development, dedicated at €5.25Paris

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.

Deploy a Django app to production with its PostgreSQL database: Django's deployment checklist set by the AI, DEBUG off, SECRET_KEY and ALLOWED_HOSTS read from the environment, migrations applied and static files served, then Django hosting in France on while
Django's checklist, migrations and static files, handled before every start.

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 situationOur pick
Pay by the second for what runs, with no subscriptionwhile
A preview per branch, with its own datawhile
The team signed in with their email account, a client with a passwordwhile
Your AI takes the app to production, in Francewhile
Learning Django for freePythonAnywhere
Health data, SecNumCloudScalingo

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.

The message to give your AI
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

  1. Heroku, Pricing, accessed November 19, 2026
  2. Heroku, Heroku Postgres plans, accessed November 19, 2026
  3. Render, Pricing, accessed November 19, 2026
  4. Render, Deploy for free, accessed November 19, 2026
  5. Railway, Pricing, accessed November 19, 2026
  6. PythonAnywhere, Plans and pricing, accessed November 19, 2026
  7. Scalingo, Pricing, accessed November 19, 2026
  8. Clever Cloud, Pricing and estimator, accessed November 18, 2026
  9. Clever Cloud, Security and certifications, accessed November 19, 2026
  10. Django, Deployment checklist, accessed November 19, 2026

Questions

Where to host a Django app for free?

PythonAnywhere Beginner is free, with one app at a pythonanywhere.com address and 100 CPU-seconds per day6. Render has a free web service that sleeps after 15 minutes without traffic, and a free database that expires after 30 days4. On while, the trial is free with no sign-up, and the Libre plan has no subscription.

How much does a Django app with its PostgreSQL database cost?

About $12 per month at Heroku, with a $7 Basic dyno and a $5 Essential-0 database1,2, $13 at Render3, and under €10 at Clever Cloud8.

Which Django hosting in Europe, or in France?

Scalingo and Clever Cloud run your apps in France, and while hosts your apps and their data in France, at Nextmap. Heroku offers a Europe region, Render Frankfurt and Railway Amsterdam.

Do I need a Dockerfile for Django?

No, at most hosts. On while, your app is detected, installed from requirements.txt and served by gunicorn, with no Dockerfile.

Are my migrations applied?

On while, yes: your AI adds a Procfile that applies migrations and collects static files before every start.

Which Django hosting for health data?

Scalingo, HDS certified on a Business or Enterprise plan with at least two containers7, or Clever Cloud, ISO 27001 and HDS certified9.

Give your AI the message, and it takes care of the rest

Give this to your AI

Read while.sh/agents and help me get started with while.

Copy the message

In 3 minutes, with no sign-up, the tool has its own address. To keep it, create your account.

For a company project, write to the while team: hello@while.sh