Пример #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 create_migration(app_label, **kwargs):
    from south.management.commands.schemamigration import Command
    com = Command()
    com.handle(app=app_label, **kwargs)
Пример #3
0
def generate_migration():
    from south.management.commands.schemamigration import Command
    com = Command()
    com.handle(app='paypal', initial=True)
Пример #4
0
def generate_migration():
    from south.management.commands.schemamigration import Command
    com = Command()
    com.handle(app='systempay', initial=True)
Пример #5
0
def generate_migration():
    from south.management.commands.schemamigration import Command
    com = Command()
    com.handle(app='accounts', auto=True)
Пример #6
0
def generate_migration():
    from south.management.commands.schemamigration import Command
    com = Command()
    com.handle(app='accounts', auto=True)
def generate_migration():
    from south.management.commands.schemamigration import Command
    com = Command()
    com.handle(app='oscar_amazon_payments', initial=True)