diff options
| author | Baptiste Mispelon <bmispelon@gmail.com> | 2019-12-06 09:31:33 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-12-06 09:31:33 +0100 |
| commit | f138e75910b1e541686c4dce3d8f467f6fc234cb (patch) | |
| tree | 50d3b4812c3c13d827bbc9cb6d5f2be0813b5e65 | |
| parent | 5d674eac871a306405b0fbbaeb17bbeba9c68bf3 (diff) | |
Fixed outdated import in django/utils/safestring.py.
The backported version of functools.wraps was removed in
13864703bc1d5dd4dac63c96c6a4b42a392bc57f.
| -rw-r--r-- | django/utils/safestring.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/safestring.py b/django/utils/safestring.py index 1afa18d521..a484f678e2 100644 --- a/django/utils/safestring.py +++ b/django/utils/safestring.py @@ -5,7 +5,7 @@ that the producer of the string has already turned characters that should not be interpreted by the HTML engine (e.g. '<') into the appropriate entities. """ -from django.utils.functional import wraps +from functools import wraps class SafeData: |
