Browse Source

fix: ajuste de importação lib six

bump_django
LeandroJatai 5 months ago
parent
commit
849f66ea2b
  1. 2
      sapl/rules/tests/test_rules.py
  2. 3
      sapl/utils.py

2
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,

3
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

Loading…
Cancel
Save