Skip to content

Commit 1bdddee

Browse files
committed
feat: added django 4.0 support
1 parent 2d1e507 commit 1bdddee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

djangocms_transfer/datastructures.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from django.core.serializers import deserialize
44
from django.db import transaction
5-
from django.utils.encoding import force_text
5+
from django.utils.encoding import force_str
66
from django.utils.functional import cached_property
77

88
from cms.models import CMSPlugin
@@ -29,7 +29,7 @@ def model(self):
2929
@cached_property
3030
def deserialized_instance(self):
3131
data = {
32-
'model': force_text(self.model._meta),
32+
'model': force_str(self.model._meta),
3333
'fields': self.data,
3434
}
3535

0 commit comments

Comments
 (0)