installing django 1.5(development version) in virtualenv

I am trying to start developing a web apps using django 1.5 but I can't figure out how to install the django 1.5 in the virtualenv because django 1.5 is still a development version.

I've tried installing it using easy_install and pip but all I get is django 1.4 because it is the official version.

Can anybody help me with this?

Answers


Directly from the github repository.

pip install git+git://github.com/django/django.git@1.5b2

Django 1.5 was released!. To install it use:

pip install django

To install the latest development version without git, on your own risk use:

pip install https://github.com/django/django/zipball/master

Django 1.5 Release Candidate 2 (RC2) was released, and it can be installed using pip without installing git:

pip install https://www.djangoproject.com/download/1.5c2/tarball/


Now that the github version is 1.6 'alpha' (atm), to get the 1.5.x branch, you can:

pip install --upgrade git+http://github.com/django/django.git@stable/1.5.x#egg=django

Edit: You may need to pip uninstall Django to remove previous versions.


Here is instruction how you can grab the code from git. After that go to your virtual env

source ~/path/to/venv/bin/activate

and go to downloaded sources and run setup.py:

python setup.py install

and now you have installed latest development Django.


I think this link could be useful: https://www.djangoproject.com/download/

Option 1.

You can install the latest official version of Django:

pip install Django==1.6.3

Option 2.

You can try out the beta:

pip install https://www.djangoproject.com/download/1.7b2/tarball/

Option 3.

You can get the latest development version:

git clone https://github.com/django/django.git

Need Your Help

Library to read ELF file DWARF debug information

python debugging elf dwarf

Any recommendations for a good cross-platform library for reading ELF file debug information in DWARF format? I'd like to read the DWARF debug info in a Python program.

Why is a mysqldump with single-transaction more consistent than a one without?

mysql mysqldump

I have gone through the manual and it was mentioned that every transaction will add a BEGIN statement before it starts taking the dump. Can someone elaborate this in a more understandable manner?