At the office, I connect it to a 20" Cinema display. I had to make the following changes to setup.pyFREETYPE_ROOT = "/usr/local"JPEG_ROOT. There are several places online that discuss problems installing PIL on Mac OS X Snow LeopardThis is how I got it to work.Install lib jpeg using homebrew (which is super-aweseome!) brew intall jpeg.This installs the library into /usr/local/Cellar/jpeg/7Install libfreetype the old-fashioned way (./configure, make, sudo make install). I eventually got this working, and here's how. This comand needs pyGraphViz, though, and I was a little disappointed when i discovered I couldn't install pyGraphViz with pip install pygraphviz. manage.py graph_models which will generate a nice graph displaying the relationships among all of your Models. There's this cool project called django-extensions that (among other things) adds a lot of commands to django's manage.py offerings.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |