Browse Source

fix: ugettext to gettext

bump_django
LeandroJatai 5 months ago
parent
commit
ba233fb4ae
  1. 2
      sapl/audiencia/tests/test_audiencia.py
  2. 2
      sapl/comissoes/tests/test_comissoes.py
  3. 2
      sapl/compilacao/tests/test_tipo_texto_articulado_form.py
  4. 2
      sapl/crispy_layout_mixin.py
  5. 2
      sapl/materia/tests/test_materia_form.py
  6. 2
      sapl/redireciona_urls/exceptions.py

2
sapl/audiencia/tests/test_audiencia.py

@ -1,7 +1,7 @@
import pytest
import datetime
from model_bakery import baker
from django.utils.translation import ugettext as _
from django.utils.translation import gettext as _
from sapl.audiencia import forms
from sapl.audiencia.models import AnexoAudienciaPublica

2
sapl/comissoes/tests/test_comissoes.py

@ -1,6 +1,6 @@
import pytest
from django.urls import reverse
from django.utils.translation import ugettext as _
from django.utils.translation import gettext as _
from model_bakery import baker
from sapl.comissoes.models import Comissao, Composicao, Periodo

2
sapl/compilacao/tests/test_tipo_texto_articulado_form.py

@ -1,5 +1,5 @@
import pytest
from django.utils.translation import ugettext as _
from django.utils.translation import gettext as _
from model_bakery import baker
from sapl.compilacao import forms

2
sapl/crispy_layout_mixin.py

@ -8,7 +8,7 @@ from django.contrib.contenttypes.models import ContentType
from django.urls import reverse, reverse_lazy
from django.utils import formats
from django.utils.encoding import force_text
from django.utils.translation import ugettext as _
from django.utils.translation import gettext as _
import yaml

2
sapl/materia/tests/test_materia_form.py

@ -1,5 +1,5 @@
import pytest
from django.utils.translation import ugettext as _
from django.utils.translation import gettext as _
from model_bakery import baker
from sapl.comissoes.models import Comissao, TipoComissao

2
sapl/redireciona_urls/exceptions.py

@ -1,4 +1,4 @@
from django.utils.translation import ugettext as _
from django.utils.translation import gettext as _
class UnknownUrlNameError(Exception):

Loading…
Cancel
Save