changeset 10 | fb466c64d84c |
9:2e1053dff5f2 | 10:fb466c64d84c |
---|---|
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 |