author | ymh <ymh.work@gmail.com> |
Thu, 23 May 2013 00:24:23 +0200 | |
changeset 102 | e2968797bdae |
parent 78 | d108011b6e99 |
permissions | -rw-r--r-- |
78 | 1 |
# -*- coding: utf-8 -*- |
102 | 2 |
from django.core.management import call_command |
78 | 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 |