Use functools.update_wrapper for Django 1.6+

update_wrapper is no longer in django.utils.functional as of Django 1.6, since it has been part of the Python standard library's functools package since Python 2.5
Merge pull request #4 from steveblamey/master

Use functools.update_wrapper for Django 1.6+