| changeset 520 | 0228f30668f1 |
| parent 130 | f257ad33bed5 |
--- a/src/cm/migrations/0007_populate_id_key_in_comments.py Fri Jun 28 16:05:08 2013 +0200 +++ b/src/cm/migrations/0007_populate_id_key_in_comments.py Mon Jul 01 12:43:20 2013 +0200 @@ -7,7 +7,7 @@ def forwards(self, orm): "Write your forwards migration here" - for c in Comment.objects.all(): + for c in orm.Comment.objects.all(): c.id_key = c.key c.save()