Import update_wrapper from python instread of django