Cuma, Mart 11, 2011

Getting along with Django

These days I am tackling with Django on a centos server. I installed django package downloaded from its site.Started a simple app. Now trying to use

database mysql. When it ocmes to mysql I needed to install some packages like mysql-devel,python-devel and most importantly MySQL-python (notice the capital letters).

An older version of this is in centos stable repos.After some search I learned I can install it in different ways like compiling or using test repo.I chose

the former and installed python-setuptools. And then I realised that there is easy_install in this package which helps me installing the required MySQL-python

package. And voila.

Hiç yorum yok: