defbyte/django-singleton — pull request #1 by mcnemesis (2014-03-21 08:38:09+00:00)
Title: Update admin.py

Newer versions of Django no-longer include `update_wrapper`, as it's expected to be provided in the language's standard library.

Here's the error I was getting as of now:

File "/usr/lib/python2.7/site-packages/singleton_models/admin.py", line 5, in
from django.utils.functional import update_wrapper
ImportError: cannot import name update_wrapper

My environment is: Django 1.6.2 final, and Python 2.7.6