I started a new project a few months back using Django 1.7. The company has decided to settle on using Django 1.6 for all projects.
Is there a nice way to downgrade from Django 1.7 to 1.6?
Are migrations the only thing I have to worry about? Are the changes between the two versions large enough that I need to rewrite the app? I was hoping to just change the version in the requirements.txt
and then install south
and create new database migrations.
用:
sudo pip install Django==1.6.10
You should check the Django release notes for 1.7 . Just doing what you propose should be enough, but check if you are using things that changed in that log. That is project specific.
For Windows:
pip install -U Django==required version
You will have to make changes to the original suite sub-folder.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.