src/ldtplatform/migrations/0003_recalculate_contentstat.py
author ymh <ymh.work@gmail.com>
Sun, 15 Feb 2015 00:56:46 +0100
changeset 223 bb1d902e0f63
parent 102 e2968797bdae
permissions -rw-r--r--
add cors headers to api

# -*- coding: utf-8 -*-
from django.core.management import call_command
from south.v2 import DataMigration

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