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?
Directly from the github repository.
pip install git+git://firstname.lastname@example.org
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
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/
You can install the latest official version of Django:
pip install Django==1.6.3
You can try out the beta:
pip install https://www.djangoproject.com/download/1.7b2/tarball/
You can get the latest development version:
git clone https://github.com/django/django.git