author | ymh <ymh.work@gmail.com> |
Fri, 01 Mar 2013 18:08:40 +0100 | |
changeset 101 | f8d837d7ffbc |
parent 78 | d108011b6e99 |
child 102 | e2968797bdae |
permissions | -rw-r--r-- |
78 | 1 |
# -*- coding: utf-8 -*- |
2 |
import datetime |
|
3 |
from south.db import db |
|
4 |
from south.v2 import DataMigration |
|
5 |
from django.db import models |
|
6 |
from django.core.management import call_command |
|
7 |
||
8 |
class Migration(DataMigration): |
|
9 |
||
10 |
def forwards(self, orm): |
|
11 |
# Call the command from ldt_utils app |
|
12 |
call_command('updateiriurlinprojects') |
|
13 |
||
14 |
def backwards(self, orm): |
|
15 |
"Write your backwards methods here." |
|
16 |
||
17 |
models = { |
|
18 |
||
19 |
} |
|
20 |
||
21 |
complete_apps = ['ldtplatform'] |
|
22 |
symmetrical = True |