Skip to content

Commit

Permalink
feat: added django 4.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
mihalikv committed Aug 12, 2022
1 parent 2d1e507 commit 1bdddee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions djangocms_transfer/datastructures.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
}

Expand Down

0 comments on commit 1bdddee

Please sign in to comment.