mirror of
https://github.com/django/django.git
synced 2025-06-05 11:39:13 +00:00
Fixed outdated import in django/utils/safestring.py.
The backported version of functools.wraps was removed in 13864703bc1d5dd4dac63c96c6a4b42a392bc57f.
This commit is contained in:
parent
5d674eac87
commit
f138e75910
@ -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.
|
be interpreted by the HTML engine (e.g. '<') into the appropriate entities.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from django.utils.functional import wraps
|
from functools import wraps
|
||||||
|
|
||||||
|
|
||||||
class SafeData:
|
class SafeData:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user