Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to upgrade Django on ubuntu?

Tags:

Not a Django developer. We initially installed Django from Ubuntu packages by typing apt-get install python-django. Now we need version 1.x - our version is 0.96.1 Could you advise an easy way to upgrade?

like image 918
Devrim Avatar asked Feb 22 '10 15:02

Devrim


People also ask

How do I find my Django version?

Simply type python -m django --version or type pip freeze to see all the versions of installed modules including Django.


1 Answers

Easiest way to upgrade Django on Ububtu is to make use of the easy_install script provided by the python-setuptools package.

sudo apt-get install python-setuptools
sudo easy_install --upgrade django
like image 123
jamesc Avatar answered Sep 28 '22 06:09

jamesc