diff options
| author | Jannis Leidel <jannis@leidel.info> | 2011-03-31 08:42:51 +0000 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2011-03-31 08:42:51 +0000 |
| commit | 7099d465abad0e6fd7c5ff096dc8ab55c14ecfdd (patch) | |
| tree | fc18788c38518317c2c25662dcd85cdfed478b6b | |
| parent | 365f501793493287903b5920bbdca9139974cb7f (diff) | |
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
| -rw-r--r-- | django/utils/functional.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/functional.py b/django/utils/functional.py index 6199efe77d..d50d4ffa05 100644 --- a/django/utils/functional.py +++ b/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 |
