🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #3924

Bug#1153544: ITP: python-django-codemod -- automatically fix Django deprecations

#3924
From: Michael Fladischer
Date: Mon, 09 Nov 2026 19:30
43 lines
3446 bytes
Package: wnpp
Severity: wishlist
Owner: Michael Fladischer <michael@fladi.at>
X-Debbugs-Cc: debian-devel@lists.debian.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

* Package name    : python-django-codemod
  Version         : 3.0.0
  Upstream Contact: Bruno Alla <alla.brunoo@gmail.com>
* URL             : https://github.com/browniebroke/django-codemod
* License         : Expat
  Programming Lang: Python
  Description     : automatically fix Django deprecations

 When maintaining a Django site, over time you'll find yourself to a point
 where you'll need to update to the next major version of Django. When Django
 APIs changes, functions move or are removed, changing usages in your project
 might add up to many changes. Often these changes are simple to do, but
 sometimes a simple "find and replace" is not possible.
 .
 This project solves this problem by providing codemodders for simple changes
 like this. A codemodder re-writes your code from the old way to the new way.
 .
 With the help of AST analysis, we're able to understand what modifications are
 applicable, remove imports as they become irrelevant, and add missing ones as
 they are needed.

I intend to maintain this as part of the DPT.

-----BEGIN PGP SIGNATURE-----

iQFPBAEBCgA5FiEEqVSlRXW87UkkCnJc/9PIi5l90WoFAmryGJobHGZsYWRpc2No
ZXJtaWNoYWVsQGZsYWRpLmF0AAoJEP/TyIuZfdFqy3oH/i9v7JqfzxRpLiD8UsEI
0fbW89U44vbnnwo5ptxUjUGbAsYaQtkK+ueQwSJ3MTnq7ZK9xhEDk797IeAIpOsR
7gNglAvv75pbyg5mRhnKmZhdn1wOJXgEdoRCRa6rloCzORqDLeMWXoMptwzwJI32
EH/gP25XJ+/ZEp8WCZ0Uoqsq5XueOcEDi06ezM109VCDbPm1DNhDrmiNZsApVvFI
uIXZ2wWgNLTOgS9ehpbIyE59h91uhQn1WzkxHKxBzv6AS70V9uyn7sDH5ZW7bLSy
8fti9VMw3U2BzfWiZiOooL3MYzd1Px/3cGshWS4WlAtF9gn/OZLO3cRR9TWz/mX2
gq0=
=wGo3
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <NXDe2-aRXQ-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: Michael Fladischer <michael@fladi.at>
Newsgroups: linux.debian.bugs.dist,linux.debian.devel
Subject: Bug#1153544: ITP: python-django-codemod -- automatically fix Django deprecations
Date: Mon, 09 Nov 2026 20:30:02 +0100
Message-ID: <NXDe2-aRXQ-3@gated-at.bofh.it>
X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Nov  9 19:27:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: Michael Fladischer <michael@fladi.at>, 1153544@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-devel@lists.debian.org, wnpp@debian.org
X-Debian-Pr-Message: report 1153544
X-Debian-Pr-Package: wnpp
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0+nmu1
X-Greylist: delayed 1406 seconds by postgrey-1.37 at buxtehude; Mon, 09 Nov 2026 19:25:22 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2001708
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 43
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 09 Nov 2026 19:01:46 +0000
X-Original-Message-ID: <179425090680.44062.11371184196122443773.reportbug@ithor>