upgraded django and fixed deprecations in json & content_type