From f138e75910b1e541686c4dce3d8f467f6fc234cb Mon Sep 17 00:00:00 2001 From: Baptiste Mispelon Date: Fri, 6 Dec 2019 09:31:33 +0100 Subject: [PATCH] Fixed outdated import in django/utils/safestring.py. The backported version of functools.wraps was removed in 13864703bc1d5dd4dac63c96c6a4b42a392bc57f. --- django/utils/safestring.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/utils/safestring.py b/django/utils/safestring.py index 1afa18d521f..a484f678e26 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: