Skip to content

Commit c78a65b

Browse files
committed
Merge pull request #1 from mcnemesis/patch-1
Newer versions of Django no-longer include `update_wrapper`, as it's expected to be provided in the language's standard library. Thanks to @mcnemesis
2 parents ff82d22 + 8d563ea commit c78a65b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

singleton_models/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from django.utils.translation import ugettext as _
33
from django.utils.encoding import force_unicode
44
from django.http import HttpResponseRedirect
5-
from django.utils.functional import update_wrapper
5+
from functools import update_wrapper
66

77

88
class SingletonModelAdmin(admin.ModelAdmin):

0 commit comments

Comments
 (0)