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