Blog Archive for June 28, 2011

Django static

June 28, 2011

I wanted to reduce the size of some javascript on my site. I did this using django-static.

Dependencies

This depends on the slimmer project, install this using:

# easy_install slimmer

Source Files

I downloaded the source for django_static and added it to my project path. I then added

'django_static',

to my ...

Flot Pie Charts

June 28, 2011

I have many pie chart that have the same three segments, one features contest wins, another top six places, and a third unplaced. I wanted to have each segment colour coded in a specific way. Unfortunately the Raphael pie chart code I was using did not support this, and always ...

Tags: flot pie chart