From a8b70d251d238b4e6cfc7bb4296da15494f8dff3 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 9 Feb 2015 13:19:34 -0500 Subject: [1.8.x] Sorted imports with isort; refs #23860. Backport of 0ed7d155635da9f79d4dd67e4889087d3673c6da from master --- tests/commands_sql_migrations/migrations/0001_initial.py | 2 +- tests/commands_sql_migrations/tests.py | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'tests/commands_sql_migrations') diff --git a/tests/commands_sql_migrations/migrations/0001_initial.py b/tests/commands_sql_migrations/migrations/0001_initial.py index 39a53bf68f..6ecefc0e75 100644 --- a/tests/commands_sql_migrations/migrations/0001_initial.py +++ b/tests/commands_sql_migrations/migrations/0001_initial.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from __future__ import unicode_literals -from django.db import models, migrations +from django.db import migrations, models class Migration(migrations.Migration): diff --git a/tests/commands_sql_migrations/tests.py b/tests/commands_sql_migrations/tests.py index 23b37a0f8f..f7c7f5f08c 100644 --- a/tests/commands_sql_migrations/tests.py +++ b/tests/commands_sql_migrations/tests.py @@ -3,9 +3,10 @@ from __future__ import unicode_literals from django.apps import apps from django.core.management import CommandError from django.core.management.color import no_style -from django.core.management.sql import (sql_create, sql_delete, sql_indexes, - sql_destroy_indexes, sql_all) -from django.db import connections, DEFAULT_DB_ALIAS +from django.core.management.sql import ( + sql_all, sql_create, sql_delete, sql_destroy_indexes, sql_indexes, +) +from django.db import DEFAULT_DB_ALIAS, connections from django.test import TestCase -- cgit v1.3