add django 1.3.X support