Taking over a Django project: a handover checklist
Taking over a Django project? Get the accounts into your name, get a working copy, check versions and settings, then stabilise before you change code.
Your developer has handed in their notice, or the agency that built your app has stopped answering emails. The site still works. Customers still log in. But nobody on your side knows how it is deployed, where the backups are, or what would happen if the server fell over tonight.
This checklist is for the person who has to sort that out. It splits the job in two: the steps your company has to take itself, and the Django checks the next developer should run in their first week. We've been building in Python since 2012, and taking over inherited Django apps is part of our upgrade and rescue service.
Why the first fortnight matters
The biggest risk in a handover is rarely bad code. It's losing access. A domain that renews on the old developer's card, a server that only they can log in to, an email-sending account in their name: any of these can take your site down weeks later, long after the goodbye email.
The second risk is changing an inherited Django codebase before anyone understands it. A well-meant upgrade on day three, with no tested backup and no way to roll back, is how a quiet handover turns into an outage. So the order matters. Access first, then a working copy, then checks, and only then changes.
Step 1: make sure your company owns the accounts
Do this while the outgoing developer is still around and friendly. For each item, the account should belong to your company, use a company email address, and have at least two people from your side who can log in.
- Domain registrar and DNS. Who pays the renewal, and where are the DNS records managed? This is the one that hurts most when it lapses.
- Hosting or cloud account. The servers, the database, file storage for uploads, and the bill.
- Code repository. GitHub, GitLab or Bitbucket. Ask for the repository to be transferred to your organisation, not shared with you as a guest.
- Backups. Where they go, how often they run, and who gets told when one fails.
- Email sending. Password resets and order emails usually go through a service such as Postmark or Amazon SES, with its own login.
- Payments and other APIs. Payment provider, maps, SMS, accounting integrations. Note every API key and which account it belongs to.
- Error tracking and monitoring, if there is any.
Then ask the outgoing developer for the things that only live in their head: how they deploy, what runs on a schedule overnight, and anything they always meant to fix. Write it down. Once the accounts are yours, rotate the passwords and API keys they had access to, so you are the only one holding them.
Step 2: get a copy that runs somewhere other than live
The new developer needs to run the app on their own machine or a staging server before they touch production. That sounds obvious. It's often where the first surprise turns up.
Check that the code in the repository is the code that's actually running. On older projects it isn't unusual to find fixes made straight on the server and never committed. Compare the deployed files with the repository's latest commit, and commit anything that differs.
Then get it running from a clean start: install the dependencies, load a recent copy of the database (with personal data removed or scrambled if it holds customer details), and run the test suite if there is one. Every command needed to do that goes into the README. If it takes the new developer two days and three phone calls, that's useful information, and the README should stop it happening again.
Step 3: check which Django and Python versions you are on
This tells you how urgent everything else is. A Django release series only gets security fixes for a fixed period. After that, any newly found vulnerability stays open on your site. Here are the supported series as listed on the Django download page:
| Series | Type | Security fixes until |
|---|---|---|
| 5.2 | LTS | April 2028 |
| 6.0 | Feature release | April 2027 |
| 6.1 | Feature release | December 2027 |
Anything older is out of support. That includes Django 4.2 LTS, whose extended support ended on 7 April 2026, and every 3.x release. Plenty of inherited apps are on one of those.
Python has its own clock. The Python developer guide lists 3.10 as end of life since 1 October 2026; 3.11 is scheduled to reach end of life in October 2027. An old Python version also caps how far you can upgrade Django, because each Django release only supports certain Python versions.
Whoever looks after the app should also be on the django-announce mailing list, which the Django team uses to give advance notice of security releases.
Step 4: run Django's own checks
Django ships with checks that catch the common production mistakes. They're free and they take seconds. The developer should run them against the production settings, on the copy from step 2:
# Security and settings warnings for a production deployment
python manage.py check --deploy
# Which migrations exist, and which have been applied to this database
python manage.py showmigrations
# Fails if the models have changes that no migration covers
python manage.py makemigrations --check --dry-run
In plain terms:
check --deployis the starting point of Django's deployment checklist. It warns about settings such asDEBUGbeing left on, a weak or exposedSECRET_KEY, and cookies that aren't marked secure for HTTPS.showmigrationsshows whether the database matches the code. Unapplied migrations on the live database mean someone deployed half a change.makemigrations --checkcatches model changes that were never turned into migrations. Those tend to blow up on the next deploy, usually for the person who didn't make them.
Also look at where the secrets live. A SECRET_KEY, database password or API key committed to the repository should be treated as known to everyone who has ever had access. Move them into environment variables and issue new ones.
Step 5: stabilise before you change anything
Now you know what you have. The temptation is to start on the list of fixes and features. Don't, yet. Put these four things in place first (our own rescue work starts with the last three):
- A backup you have restored. A backup nobody has restored is a hope. Restore last night's copy to a spare database and check the data is all there.
- A scripted deploy. One command, or one pipeline, that anyone on the team can run. If deploying means someone copying files over by hand, that's the first thing to replace.
- Error alerts. When something breaks, the developer should hear about it before your customers do.
- Tests around the paths that earn money. Login, checkout, the nightly import, whatever would cost you most if it quietly stopped. Our post on how we test Django applications covers the approach.
With those in place, taking over a Django project stops being a risk and becomes ordinary maintenance. Upgrades can go one release at a time, each shipped and checked before the next. Our Django upgrade checklist picks up from here.
The case against a rewrite
Sooner or later someone will suggest starting again. Sometimes they're right. Usually they're not, and they haven't read the code yet.
A rewrite means rebuilding every rule the current app already gets right, including the odd ones nobody wrote down, while the old system keeps running and needs looking after anyway. Upgrading in place keeps the site taking orders the whole time. A rewrite can be the honest answer for one part of an app: a module built on an abandoned package, or a feature nobody uses any more. That should be a decision made after the checks above, in writing, with reasons. Not a reflex in week one.
- Move every account (domain, DNS, hosting, repository, email, payments) into your company's name, then rotate the passwords and keys.
- Get the app running away from production, from a repository that matches what is live.
- Check your Django and Python versions against the official support dates. Django 4.2 and Python 3.10 are now out of support.
- Run check --deploy, showmigrations and makemigrations --check before changing anything.
- Stabilise first: a restored backup, a scripted deploy, error alerts and tests on the money paths. Then upgrade.
When to bring in outside help
If you have a developer in-house who can work through this list, give them the time to do it properly before handing them a feature backlog. If you don't, or the checks turn up more than expected, this is the work our Django upgrades and rescue service exists for. We stabilise first, with monitoring, automated deployments and tests on the critical paths, then move on to upgrades and new features.
The usual starting point is a two-week discovery sprint: an audit of the codebase and a written plan for what to do, in what order, before any bigger work starts.
Questions
What should I ask the outgoing Django developer before they leave?
Ask for the repository to be transferred to your organisation, and for every account (domain, hosting, email sending, payments) to be moved into your company's name. Then ask how they deploy, what runs on a schedule, where the backups go, and what they always meant to fix. Write the answers into the README.
How long does it take to take over a Django project?
Moving the accounts and getting a working copy can take a few days if the outgoing developer helps. Stabilising the app, with a tested backup, a scripted deploy, alerts and tests on the main paths, depends on the size of the codebase and what the checks find. A short audit first turns that into a plan.
Is Django 4.2 still supported?
No. Django 4.2 LTS stopped getting security fixes on 7 April 2026, according to the Django download page. As of 23 November 2026 the supported series are 5.2 LTS (until April 2028), 6.0 (until April 2027) and 6.1 (until December 2027).
Should we rewrite an inherited Django app?
Usually not. Upgrading in place keeps the site running and keeps the business rules the current app already gets right. A rewrite can make sense for one part of an app, such as a module built on an abandoned package, but decide that after an audit, not before.
x