Answer the question
In order to leave comments, you need to log in
How to migrate a django project to version 3?
Hello everyone, has anyone been involved in migrating a django project written in python 2.7 to python 3.x?
I ran the whole project through python 3's 2to3.py, but obviously that's not enough. Does anyone have similar experience?
Answer the question
In order to leave comments, you need to log in
I did it manually - without 2to3:
- module import paths are corrected - prints are corrected
if there are any
- string display
is corrected - the environment is assembled from the libraries of the 3rd python
- the project is launched - look at errors
- correct errors, repeat the previous paragraph - and so on until successful launch...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question