csbio (biocs tumbled) RSS

a tumblelog to supplement my real blog

Things too long to tweet and too unimportant to blog go here.

Archive

Mar
5th
2009
Thu
permalink

migrate to Django 1.0 with sed

Doesn’t cover everything, but works for me:

find -name '*py' | xargs sed -i -e 's/maxlength/max_length/' -e 's/FloatField/DecimalField/'