diff --git a/djangocms_transfer/datastructures.py b/djangocms_transfer/datastructures.py index e248f4a..a6a0591 100644 --- a/djangocms_transfer/datastructures.py +++ b/djangocms_transfer/datastructures.py @@ -2,7 +2,7 @@ from django.core.serializers import deserialize from django.db import transaction -from django.utils.encoding import force_text +from django.utils.encoding import force_str from django.utils.functional import cached_property from cms.models import CMSPlugin @@ -29,7 +29,7 @@ def model(self): @cached_property def deserialized_instance(self): data = { - 'model': force_text(self.model._meta), + 'model': force_str(self.model._meta), 'fields': self.data, }