upgrade to django1.4