diff options
Diffstat (limited to 'django/core/management/sql.py')
| -rw-r--r-- | django/core/management/sql.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/management/sql.py b/django/core/management/sql.py index 884063f4f0..1757d4d7a0 100644 --- a/django/core/management/sql.py +++ b/django/core/management/sql.py @@ -238,7 +238,7 @@ def sql_indexes(app, style): def sql_all(app, style): "Returns a list of CREATE TABLE SQL, initial-data inserts, and CREATE INDEX SQL for the given module." - return sql_create(app, style) + sql_custom(app) + sql_indexes(app, style) + return sql_create(app, style) + sql_custom(app, style) + sql_indexes(app, style) def sql_model_create(model, style, known_models=set()): """ |
