Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun committed Aug 30, 2024
1 parent 29a799e commit 6b5b5f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions djangocms_blog/migrations/0044_copy_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def __enter__(self):
self.model.save = lambda self, *args, **kwargs: super(models.Model, self).save(*args, **kwargs)
return self.model

def __exit(self, exc_type, exc_value, traceback):
def __exit__(self, exc_type, exc_value, traceback):
self.model.save = self.save_method


Expand Down Expand Up @@ -61,7 +61,7 @@ def move_plugins_to_blog_content(apps, schema_editor):
with BareVersion(Version) as Version:
Version.objects.create(
number="1",
content=content,
contents=content,
created_by=migration_user,
state=PUBLISHED if post.publish else DRAFT,
)
Expand Down

0 comments on commit 6b5b5f0

Please sign in to comment.