content_type kwarg to make it run with django 1.7