Loading django/core/management/commands/sql.py +1 −1 Original line number Diff line number Diff line Loading @@ -22,5 +22,5 @@ class Command(AppCommand): if app_config.models_module is None: return connection = connections[options.get('database')] statements = sql_create(app_config.models_module, self.style, connection) statements = sql_create(app_config, self.style, connection) return '\n'.join(statements) django/core/management/commands/sqlall.py +1 −1 Original line number Diff line number Diff line Loading @@ -22,5 +22,5 @@ class Command(AppCommand): if app_config.models_module is None: return connection = connections[options.get('database')] statements = sql_all(app_config.models_module, self.style, connection) statements = sql_all(app_config, self.style, connection) return '\n'.join(statements) django/core/management/commands/sqlclear.py +1 −1 Original line number Diff line number Diff line Loading @@ -22,5 +22,5 @@ class Command(AppCommand): if app_config.models_module is None: return connection = connections[options.get('database')] statements = sql_delete(app_config.models_module, self.style, connection) statements = sql_delete(app_config, self.style, connection) return '\n'.join(statements) django/core/management/commands/sqlcustom.py +1 −1 Original line number Diff line number Diff line Loading @@ -22,5 +22,5 @@ class Command(AppCommand): if app_config.models_module is None: return connection = connections[options.get('database')] statements = sql_custom(app_config.models_module, self.style, connection) statements = sql_custom(app_config, self.style, connection) return '\n'.join(statements) django/core/management/commands/sqldropindexes.py +1 −1 Original line number Diff line number Diff line Loading @@ -23,5 +23,5 @@ class Command(AppCommand): if app_config.models_module is None: return connection = connections[options.get('database')] statements = sql_destroy_indexes(app_config.models_module, self.style, connection) statements = sql_destroy_indexes(app_config, self.style, connection) return '\n'.join(statements) Loading
django/core/management/commands/sql.py +1 −1 Original line number Diff line number Diff line Loading @@ -22,5 +22,5 @@ class Command(AppCommand): if app_config.models_module is None: return connection = connections[options.get('database')] statements = sql_create(app_config.models_module, self.style, connection) statements = sql_create(app_config, self.style, connection) return '\n'.join(statements)
django/core/management/commands/sqlall.py +1 −1 Original line number Diff line number Diff line Loading @@ -22,5 +22,5 @@ class Command(AppCommand): if app_config.models_module is None: return connection = connections[options.get('database')] statements = sql_all(app_config.models_module, self.style, connection) statements = sql_all(app_config, self.style, connection) return '\n'.join(statements)
django/core/management/commands/sqlclear.py +1 −1 Original line number Diff line number Diff line Loading @@ -22,5 +22,5 @@ class Command(AppCommand): if app_config.models_module is None: return connection = connections[options.get('database')] statements = sql_delete(app_config.models_module, self.style, connection) statements = sql_delete(app_config, self.style, connection) return '\n'.join(statements)
django/core/management/commands/sqlcustom.py +1 −1 Original line number Diff line number Diff line Loading @@ -22,5 +22,5 @@ class Command(AppCommand): if app_config.models_module is None: return connection = connections[options.get('database')] statements = sql_custom(app_config.models_module, self.style, connection) statements = sql_custom(app_config, self.style, connection) return '\n'.join(statements)
django/core/management/commands/sqldropindexes.py +1 −1 Original line number Diff line number Diff line Loading @@ -23,5 +23,5 @@ class Command(AppCommand): if app_config.models_module is None: return connection = connections[options.get('database')] statements = sql_destroy_indexes(app_config.models_module, self.style, connection) statements = sql_destroy_indexes(app_config, self.style, connection) return '\n'.join(statements)