We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d1e507 commit 1bdddeeCopy full SHA for 1bdddee
djangocms_transfer/datastructures.py
@@ -2,7 +2,7 @@
2
3
from django.core.serializers import deserialize
4
from django.db import transaction
5
-from django.utils.encoding import force_text
+from django.utils.encoding import force_str
6
from django.utils.functional import cached_property
7
8
from cms.models import CMSPlugin
@@ -29,7 +29,7 @@ def model(self):
29
@cached_property
30
def deserialized_instance(self):
31
data = {
32
- 'model': force_text(self.model._meta),
+ 'model': force_str(self.model._meta),
33
'fields': self.data,
34
}
35
0 commit comments