--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/ldtplatform/migrations/0003_recalculate_contentstat.py Fri Apr 19 16:41:39 2013 +0200
@@ -0,0 +1,22 @@
+# -*- coding: utf-8 -*-
+import datetime
+from south.db import db
+from south.v2 import DataMigration
+from django.db import models
+from django.core.management import call_command
+
+class Migration(DataMigration):
+
+ def forwards(self, orm):
+ # Call the command from ldt_utils app
+ call_command('statannotation')
+
+ def backwards(self, orm):
+ "Write your backwards methods here."
+
+ models = {
+
+ }
+
+ complete_apps = ['ldtplatform']
+ symmetrical = True