$npx skillfedfor your agent

django-upgrade

Automatically upgrade your Django project code.

Worth itPyPI Build ToolsReleased Jun 2026561.8K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — django_upgrade-1.31.1-py3-none-any.whl
v1.31.1 · released 2026-06-25 · Python >=3.10 · 1 runtime deps: tokenize-rt

Yes. django-upgrade is actively maintained, has no security vulnerabilities, installs with minimal friction, and solves a real problem for Django teams managing version upgrades. The MIT license is permissive. Install it if you maintain a Django project and want to reduce the manual work of keeping code aligned with current Django versions.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Low friction install with a single runtime dependency.
  • Active maintenance with recent releases and a solid community signal (1228 stars); last commit on 2026-08-13 indicates ongoing development.

License · maintenance · safety

MIT (permissive) — MIT license permits use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

last release 2026-06-25 (50 days) · last repo commit 2026-08-13 · 1,228 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 561,754 downloads/mo, #5,993 on PyPI

Verify before relying

pip install django-upgrade
django-upgrade --target-version 5.0 path/to/django/code
  • Specific upgrade rules and which Django versions are supported as targets beyond the framework classifiers listed.
  • Whether the tool modifies files in-place or requires review before applying changes.
Same gist for agents: .md · .json

What it is and what it does

django-upgrade is a command-line tool that automatically refactors Django project code to use modern syntax and APIs. It scans your codebase and applies transformations that align with newer Django versions, removing deprecated patterns and updating function calls to their current equivalents. This saves manual effort when upgrading large projects across multiple Django versions.

The tool depends on tokenize-rt for safe token-level code manipulation. It targets Django versions from 2.2 through 6.0 and runs on Python 3.10 or later. With active maintenance and broad version support, it's designed to handle the friction of keeping Django codebases current as the framework evolves.

Use it for

  • Bulk-upgrade a Django 3.2 project to Django 5.0 syntax and APIs in a single pass.
  • Remove deprecated Django ORM calls and template tags across a large codebase automatically.
  • Prepare a legacy Django project for a major version jump by applying intermediate upgrade rules.
  • Enforce modern Django patterns in a team codebase during a scheduled maintenance window.
  • Reduce manual code review effort by automating repetitive deprecation fixes.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

django-upgrade is actively maintained, has no security vulnerabilities, installs with minimal friction, and solves a real problem for Django teams managing version upgrades. The MIT license is permissive. Install it if you maintain a Django project and want to reduce the manual work of keeping code aligned with current Django versions.

Install

django-upgrade on PyPI

Before you install

Low friction install with a single runtime dependency. Active maintenance with recent releases and a solid community signal (1228 stars); last commit on 2026-08-13 indicates ongoing development.

Requires Python 3.10 or later.

License in practice

MIT license permits use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

Quickstart

pip install django-upgrade
django-upgrade --target-version 5.0 path/to/django/code

Verify before relying

  • Specific upgrade rules and which Django versions are supported as targets beyond the framework classifiers listed.
  • Whether the tool modifies files in-place or requires review before applying changes.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
tokenize-rt
MaintenanceActively maintained 50 days since the last release
Last repo commit
First released
Downloads561,754 / month, #5,993 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableFramework :: Django :: 2.2Framework :: Django :: 3.0Framework :: Django :: 3.1Framework :: Django :: 3.2Framework :: Django :: 4.0Framework :: Django :: 4.1Framework :: Django :: 4.2Framework :: Django :: 5.0Framework :: Django :: 5.1Framework :: Django :: 5.2Framework :: Django :: 6.0Intended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Typing :: Typed

Evidence: django_upgrade-1.31.1-py3-none-any.whl

Tags

Capabilities
django code modernizationautomatic django upgradedjango syntax fixerupgrade django codebasedjango deprecation removaldjango api migration tool
Topics
djangocode-modernizationrefactoring-tool
PyPI keywords
Django

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “django code modernization”

  • django-upgradeAutomatically modernizes Django project code by applying syntax and…
  • django-unfoldReplaces Django's default admin interface with a modern, Tailwind…
  • fissixfissix is a backport of Python's lib2to3 library with enhancements,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Build Tools packages

packaging Worth it
PyPI · Build Tools · released Aug 2026

Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.

Apache-2.0 OR BSD-2-Clausepure Python · 3.9+
2.2Bdownloads / mo
tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
pip Worth it
PyPI · Build Tools · released Aug 2026

pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.

MITpure Python · 3.10+
617.5Mdownloads / mo
hatchling Worth it
PyPI · Python Modules · released Aug 2026

Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.

MITpure Python · 3.10+
484.2Mdownloads / mo
grpcio-tools Worth it
PyPI · Build Tools · released Jul 2026

Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.

Apache-2.0compiled wheel · 3.10+
278.2Mdownloads / mo
pre-commit Worth it
PyPI · Build Tools · released Aug 2026

pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.

Install it if your team needs consistent, automated validation at commit time.

permissive licensepure Python · 3.10+
179.9Mdownloads / mo

See also django-click · django-model-utils · django-test-plus · cwl-upgrader · django-lifecycle · django-nine · djade · django-clone · django-dirtyfields · django-deprecate-fields