From 0e109630f350eeffa8c37eddcd9e9c31e13b2cf2 Mon Sep 17 00:00:00 2001 From: Raphael Gaschignard Date: Sat, 28 Sep 2024 16:11:23 +1000 Subject: [PATCH] sort imports --- taggit/management/commands/deduplicate_tags.py | 4 +++- tests/test_deduplicate_tags.py | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/taggit/management/commands/deduplicate_tags.py b/taggit/management/commands/deduplicate_tags.py index 0644bac8..647d7873 100644 --- a/taggit/management/commands/deduplicate_tags.py +++ b/taggit/management/commands/deduplicate_tags.py @@ -1,7 +1,9 @@ from collections import defaultdict -from django.core.management.base import BaseCommand + from django.conf import settings +from django.core.management.base import BaseCommand from django.db import transaction + from taggit.models import Tag, TaggedItem diff --git a/tests/test_deduplicate_tags.py b/tests/test_deduplicate_tags.py index 64d7e9bb..b0f63feb 100644 --- a/tests/test_deduplicate_tags.py +++ b/tests/test_deduplicate_tags.py @@ -1,7 +1,9 @@ from io import StringIO + +from django.conf import settings from django.core.management import call_command from django.test import TestCase -from django.conf import settings + from taggit.models import Tag, TaggedItem from tests.models import Food, HousePet