update_wrapper removed from django 1.6