Browse files

Fixing potential issue with south migration 0004.

  • Loading branch information...
1 parent 503653d commit a301d6650a432ae334cce5ec7aa8c41311629904 @etianen committed Mar 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/reversion/migrations/0004_populate_object_id_int.py
View
2 src/reversion/migrations/0004_populate_object_id_int.py
@@ -12,7 +12,7 @@ class Migration(DataMigration):
def forwards(self, orm):
"Write your forwards methods here."
- for version in Version.objects.all().iterator():
+ for version in orm.Version.objects.all().iterator():
try:
content_type = ContentType.objects.get_for_id(version.content_type_id)
except AttributeError:

0 comments on commit a301d66

Please sign in to comment.