how do you install django older version using easy_install?

I just broke my environment because of django 1.3. None of my sites are able to run.

So, i decided to use virtualenv to set virtual environment with different python version as well as django.

But, seems like if i download the package and install using "sudo python setup.py install" this does not get added to my virtual environment, but my original environment.

I tried "easy_install django" in virtual environment virtualenv_name/bin folder, and it worked, but the problem is django1.3 was chosen automatically and got added.

I want to install django 1.2.5, is there a way that i can install easily to my virtual env?

8
задан CIF 16 April 2011 в 16:51
поделиться