예제 #1
0
def create_migration(app_label, **kwargs):
    from south.management.commands.schemamigration import Command
    com = Command()
    com.handle(app=app_label, **kwargs)
예제 #2
0
def generate_migration():
    from south.management.commands.schemamigration import Command
    com = Command()
    com.handle(app='accounts', auto=True)
예제 #3
0
def generate_migration():
    from south.management.commands.schemamigration import Command
    com = Command()
    com.handle(app='systempay', initial=True)
def generate_migration():
    from south.management.commands.schemamigration import Command
    com = Command()
    com.handle(app='oscar_amazon_payments', initial=True)