Import update_wrapper from python instread of django
Changes applied for Django 1.6
Merge pull request #1 from brian-zhao-bex/update-import

Import update_wrapper from python instread of django