src/ldtplatform/migrations/0002_iri_url_update.py
changeset 240 53931ed55bc9
parent 239 6888d282b4cc
child 241 8f808aeae027
equal deleted inserted replaced
239:6888d282b4cc 240:53931ed55bc9
     1 # -*- coding: utf-8 -*-
       
     2 from django.core.management import call_command
       
     3 from south.v2 import DataMigration
       
     4 
       
     5 class Migration(DataMigration):
       
     6 
       
     7     def forwards(self, orm):
       
     8         # Call the command from ldt_utils app
       
     9         call_command('updateiriurlinprojects')
       
    10 
       
    11     def backwards(self, orm):
       
    12         "Write your backwards methods here."
       
    13 
       
    14     models = {
       
    15         
       
    16     }
       
    17 
       
    18     complete_apps = ['ldtplatform']
       
    19     symmetrical = True