adamchainz/django-upgrade

Automatically upgrade your Django projects.

Python

1,248

716 commits

updated Oct 5, 2026

See the code

README

==============
django-upgrade
==============

.. image:: https://img.shields.io/readthedocs/django-upgrade?style=for-the-badge
   :target: https://django-upgrade.readthedocs.io/en/latest/

.. image:: https://img.shields.io/github/actions/workflow/status/adamchainz/django-upgrade/main.yml.svg?branch=main&style=for-the-badge
   :target: https://github.com/adamchainz/django-upgrade/actions?workflow=CI

.. image:: https://img.shields.io/badge/Coverage-100%25-success?style=for-the-badge
  :target: https://github.com/adamchainz/django-upgrade/actions?workflow=CI

.. image:: https://img.shields.io/pypi/v/django-upgrade.svg?style=for-the-badge
   :target: https://pypi.org/project/django-upgrade/

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg?style=for-the-badge
   :target: https://github.com/psf/black

.. image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=for-the-badge
   :target: https://github.com/pre-commit/pre-commit
   :alt: pre-commit

----

.. figure:: https://raw.githubusercontent.com/adamchainz/django-upgrade/main/docs/_static/logo.svg
  :alt: django-upgrade logo
  :align: center

Automatically upgrade your Django project code.

Documentation
-------------

Please see https://django-upgrade.readthedocs.io/.

Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.

django

adamchainz/django-upgrade

Automatically upgrade your Django projects.

Python

1,248

716 commits

updated Oct 5, 2026

See the code

README

==============
django-upgrade
==============

.. image:: https://img.shields.io/readthedocs/django-upgrade?style=for-the-badge
   :target: https://django-upgrade.readthedocs.io/en/latest/

.. image:: https://img.shields.io/github/actions/workflow/status/adamchainz/django-upgrade/main.yml.svg?branch=main&style=for-the-badge
   :target: https://github.com/adamchainz/django-upgrade/actions?workflow=CI

.. image:: https://img.shields.io/badge/Coverage-100%25-success?style=for-the-badge
  :target: https://github.com/adamchainz/django-upgrade/actions?workflow=CI

.. image:: https://img.shields.io/pypi/v/django-upgrade.svg?style=for-the-badge
   :target: https://pypi.org/project/django-upgrade/

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg?style=for-the-badge
   :target: https://github.com/psf/black

.. image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=for-the-badge
   :target: https://github.com/pre-commit/pre-commit
   :alt: pre-commit

----

.. figure:: https://raw.githubusercontent.com/adamchainz/django-upgrade/main/docs/_static/logo.svg
  :alt: django-upgrade logo
  :align: center

Automatically upgrade your Django project code.

Documentation
-------------

Please see https://django-upgrade.readthedocs.io/.

Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.

django

Project health

Overall

6.0/10

Maintained

10/10

Code review

0/10
OpenSSF Scorecard

Latest release

1.33.0 · Oct 2, 2026

Releases this year

6

Significant stargazers

Marcelo Trylesinski

3,317 followers · starred Aug 2021

TW

296 followers · starred Sep 2021

Chris Adams

398 followers · starred Oct 2022

TAKAHASHI Shuuji

130 followers · starred May 2024