Fix Django older version error