Simon Willison’s Weblog

Subscribe

Sunday, 26th September 2021

django-upgrade (via) Adam Johnson’s new CLI tool for upgrading Django projects by automatically applying changes to counter deprecations made in different versions of the framework. Uses the Python standard library tokenize module which gives it really quick performance in parsing and rewriting Python code. Exciting to see this kind of codemod approach becoming more common in Python world—JavaScript developers use this kind of thing a lot.

# 5:42 am / django, python, adam-johnson

2021 » September

MTWTFSS
  12345
6789101112
13141516171819
20212223242526
27282930