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: