stay compatible with next django version (1.6)