django upgraded from 1.2.7 to 1.5.1