for new version of django

Signed-off-by: Bao Haojun <baohaojun@gmail.com>