Browse files

Fixed #15724 -- Added update_wrapper import to utils.functional to be…

… a bit more forgiving for 3rd party apps using that import.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15965 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 365f501 commit 7099d465abad0e6fd7c5ff096dc8ab55c14ecfdd @jezdez jezdez committed Mar 31, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/utils/functional.py
View
2 django/utils/functional.py
@@ -1,4 +1,4 @@
-from functools import wraps
+from functools import wraps, update_wrapper
# You can't trivially replace this `functools.partial` because this binds to

0 comments on commit 7099d46

Please sign in to comment.