diff --git a/boards/migrations/0027_image_field_to_model.py b/boards/migrations/0027_image_field_to_model.py --- a/boards/migrations/0027_image_field_to_model.py +++ b/boards/migrations/0027_image_field_to_model.py @@ -23,8 +23,8 @@ class Migration(DataMigration): image.save() + post.images.clear() post.images.add(image) - post.save() def backwards(self, orm): "Write your backwards methods here."