Upgrades & rescue
Move ageing Python and Django codebases onto supported versions without a rewrite. We untangle migrations, remove circular imports and add tests where they are missing, keeping the site live throughout.
x
We move ageing Python and Django codebases onto supported versions one release at a time, keeping the site live throughout.
Move ageing Python and Django codebases onto supported versions without a rewrite. We untangle migrations, remove circular imports and add tests where they are missing, keeping the site live throughout.
Rewrites are slow, expensive and risky. We upgrade the application you already have, one Django release at a time:
Our Django 3.2 to 5.2 upgrade guide shows the path in detail.
Some projects need more than an upgrade: a previous supplier has gone, there are no tests, deployments are manual and nobody is sure how it all fits together. We stabilise first, with monitoring, automated deployments and tests on the critical paths, and then move on to upgrades and new features.
Upgrades typically take 4–14 weeks, depending on the size of the codebase, how far behind it is and how much test coverage already exists. A two-week discovery sprint gives you the audit and a firm plan before any upgrade work starts.
The range published for moving an old Django codebase onto a supported release is £25k–£95k. That is the band in the Django cost guide, which allows 4–18 weeks. On this page the usual engagement is 4–14 weeks: a small, well-tested app at the £25k end, and a large monolith with little test coverage toward £95k.
A two-week discovery sprint turns that band into a plan for your repository before the upgrade starts.
This is for a team that already has a Django application in production and is afraid to touch it. The version is out of support, the person who wrote the migrations has left, or a security questionnaire has started asking awkward questions. You do not need a rewrite. You need the current system on a supported release, with the risky parts tested, and the site still taking orders while that happens.
The public write-up of this kind of work is the Django cost-reduction case study: a live UK SaaS platform, profiled and changed in place, rather than replaced. Upgrades follow the same rule. We change one release at a time and ship each step.
You get a risk-ranked plan, then a codebase on Django 5.2 LTS, or as far along that path as the discovery said was sensible. Tests cover the paths that would hurt if they broke: login, payments, the nightly jobs, the import. Deployments become something a script does. The monitoring that was missing is in place before we call the rescue finished.
If the honest result is that one app should be retired instead of upgraded, that is the recommendation. We would rather write that down in week 4 than discover it in month four.
Upgrades on this page are typically 4–14 weeks. A small, well-tested app is the short end. A large monolith with circular imports and no tests is the long end, because each release is shipped on its own. A two-week discovery covers the audit, the order of work, and a prototype of the riskiest step. Build cycles, if you continue, follow in four-week cycles.
The estimator, preset to an upgrade, asks how big the codebase is and gives a band. The discovery replaces that band with a plan.
Not safely in one step. We move through each feature release, 3.2 to 4.0, 4.1, 4.2, 5.0, 5.1 and 5.2, fixing deprecations at each stage. Each step is small enough to test and ship on its own.
No. Each step ships to production as a normal release, with tests and a rollback plan, so the site stays live throughout.
Usually, yes. Newer Django versions need newer Python versions, so we plan both together and move Python at the point in the path where it causes least disruption.
That is common. We write tests around the riskiest code first, before changing anything, so each upgrade step has a safety net.
Between 4 and 14 weeks for most projects. Small, well-tested apps are at the short end; large monoliths several versions behind take longer.