← Back to context

Comment by jim180

5 days ago

wouldn't it be faster/safer to upgrade to latest django/python rather than rewrite it in React/Go?

Python 2 to Python 3 in a Django codebase ... may be a full rewrite anyway.

  • Many people migrated Django projects from 2 -> 3. Certainly something that takes effort, but hardly a rewrite.

  • Nothing like a full rewrite. I migrated multiple projects, but while there is a significant amount of work involved its a tiny fraction of what a full rewrite would require.

  • Its fine, I ported quite a few Django libraries to python 3 at the time just because I wanted to use them.

    2to3 gets you pretty far and theres not much in the rest.

  • Did it a couple of times. Not something you can do with your eyes closed, but not even close to the nightmare of upgrading a JS application or upgrading a rails app.