Add Python 2.7/3.2 + Django 1.4/1.5 compatibility