diff --git a/sapl/rules/tests/test_rules.py b/sapl/rules/tests/test_rules.py index 246ed0ba7..95e609c93 100644 --- a/sapl/rules/tests/test_rules.py +++ b/sapl/rules/tests/test_rules.py @@ -2,9 +2,9 @@ from django.apps import apps from django.conf import settings from django.contrib.auth.models import Permission from django.contrib.contenttypes.models import ContentType -from django.utils import six from django.utils.translation import gettext_lazy as _ import pytest +import six from sapl.base.models import CasaLegislativa from sapl.compilacao.models import (PerfilEstruturalTextoArticulado, diff --git a/sapl/utils.py b/sapl/utils.py index 8197faeb5..e4b3c6c1b 100644 --- a/sapl/utils.py +++ b/sapl/utils.py @@ -33,13 +33,14 @@ from django.db.models.fields.related import ForeignKey from django.forms import BaseForm from django.forms.widgets import SplitDateTimeWidget, ClearableFileInput from django.http.response import JsonResponse, HttpResponse -from django.utils import six, timezone +from django.utils import timezone from django.utils.safestring import mark_safe from django.utils.translation import gettext_lazy as _ import django_filters from easy_thumbnails import source_generators import magic import requests +import six from unipath.path import Path from xlsxwriter.workbook import Workbook