Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I install Django version 1.5?

If I do pip install django I get version 1.4. If I do pip install Django==1.5 I get the message Could not find a version that satisfies the requirement Django==1.5 (from versions: ). If I install the latest version from github I get version 1.6 alpha.

like image 843
tadasajon Avatar asked Oct 29 '12 21:10

tadasajon


2 Answers

Django 1.5 is still in alpha. You can download a tarball from the download page or you can git clone the github repository and switch to what I think is the 1.5 branch with git checkout stable/1.5.x. I'm not sure why 1.5.x is considered a "stable" branch when it's in alpha, but that's the only branch that obviously qualifies.

Either way, I recommend you do the actual installing with pip install -e (directory name) if you can.

like image 197
Andrew Gorcester Avatar answered Sep 25 '22 02:09

Andrew Gorcester


Directly from github repository:

pip install git+git://github.com/django/[email protected]
like image 22
Vladislav Mitov Avatar answered Sep 26 '22 02:09

Vladislav Mitov