Fix the URLs for django 1.6