1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Refs #25530 -- Tracked references of deferred SQL statements.

This commit is contained in:
Simon Charette
2016-05-24 15:25:05 -04:00
parent ea91ad4c13
commit 3b429c9673
6 changed files with 302 additions and 32 deletions

View File

@@ -15,7 +15,7 @@ def sql_for_table(model):
def sql_for_index(model):
return '\n'.join(connection.schema_editor()._model_indexes_sql(model))
return '\n'.join(str(sql) for sql in connection.schema_editor()._model_indexes_sql(model))
# We can't test the DEFAULT_TABLESPACE and DEFAULT_INDEX_TABLESPACE settings