upgrade 0.2 compatible to Django 1.4