Django: field type ImageField + PIL

December 31, 2008 § 3 Comments

When using Django model’s ImageField, you need to have Python Image Library installed.

If your machine is Linux, easy job. Simply do the typical: wget, configure, make, and make install.

If your machine is Intel OS X… not so easy.

The configure script assumes that the OS X is using PPC architecture, thus make install would fail.

Luckily, folks at pythonmac.org provided a nice installer for PIL. You can get those here. It works for both Tiger and Leopard.

References:

Where Am I?

You are currently browsing entries tagged with django at RAPD.