How to downgrade from Django 1.7 to Django 1.6

32.7k Views Asked by At

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.

4

There are 4 best solutions below

1
Telmo Dias On BEST ANSWER

Use:

sudo pip install Django==1.6.10
0
cdvv7788 On

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.

0
Shardul On

For Windows:

pip install -U Django==required version

You will have to make changes to the original suite sub-folder.

0
shubham chitre On

pip install Django==1.6 in CMD