Show More
@@ -23,8 +23,8 b' class Migration(DataMigration):' | |||||
23 |
|
23 | |||
24 | image.save() |
|
24 | image.save() | |
25 |
|
25 | |||
|
26 | post.images.clear() | |||
26 | post.images.add(image) |
|
27 | post.images.add(image) | |
27 | post.save() |
|
|||
28 |
|
28 | |||
29 | def backwards(self, orm): |
|
29 | def backwards(self, orm): | |
30 | "Write your backwards methods here." |
|
30 | "Write your backwards methods here." |
General Comments 0
You need to be logged in to leave comments.
Login now