Thursday, May 20, 2010

Python with Django -part 1

Very simple and to install Django .
First we need to install "svn"
We can use on fedora or centos :

#yum install svn 
...
Package subversion-1.4.6-7.i386 already installed and latest version
Nothing to do

On Debian we can use this :

#apt-get install svn 

If is gentoo distro, then use :
wiki - subversion
Use this command :

$ svn co http://code.djangoproject.com/svn/django/trunk/ django 

We will test it with this command:

$ python -c 'from django import VERSION;print VERSION'
(1, 2, 1, 'alpha', 0)

Seam be ok .
More on next time.