Skip to content

Commit

Permalink
Remove placeholder deleteion
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun committed Sep 10, 2024
1 parent b6443da commit 96df40e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions djangocms_blog/migrations/0044_copy_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,6 @@ def move_plugins_to_blog_content(apps, schema_editor):
else:
print(f"Post content {translation.title} ({translation.language_code}) already exists, skipping...")

if post.media:
post.media.delete()
if post.content:
post.content.delete()
if post.liveblog:
post.liveblog.delete()

print("Migration 44 finished.", Post.objects.all().count(), "posts survived.")


Expand Down

0 comments on commit 96df40e

Please sign in to comment.