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:

Advertisements

Tagged: , ,

§ 3 Responses to Django: field type ImageField + PIL

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

What’s this?

You are currently reading Django: field type ImageField + PIL at RAPD.

meta

%d bloggers like this: