added support python2.6 (django 1.6)