diff --git a/comissoes/models.py b/comissoes/models.py index 074ffb3e7..6876debc2 100644 --- a/comissoes/models.py +++ b/comissoes/models.py @@ -1,7 +1,7 @@ from django.db import models from django.utils.translation import ugettext_lazy as _ - from model_utils import Choices + from parlamentares.models import Parlamentar from sapl.utils import YES_NO_CHOICES diff --git a/materia/models.py b/materia/models.py index fe8710e5f..27d7c6716 100644 --- a/materia/models.py +++ b/materia/models.py @@ -1,8 +1,8 @@ from django.db import models from django.utils.translation import ugettext_lazy as _ +from model_utils import Choices from comissoes.models import Comissao -from model_utils import Choices from parlamentares.models import Parlamentar, Partido from sapl.utils import YES_NO_CHOICES, xstr diff --git a/norma/models.py b/norma/models.py index 1d9826a1d..a8b95431a 100644 --- a/norma/models.py +++ b/norma/models.py @@ -1,9 +1,9 @@ from django.db import models from django.template import defaultfilters from django.utils.translation import ugettext_lazy as _ +from model_utils import Choices from materia.models import MateriaLegislativa -from model_utils import Choices from sapl.utils import YES_NO_CHOICES diff --git a/parlamentares/models.py b/parlamentares/models.py index f748a0233..71aea7feb 100644 --- a/parlamentares/models.py +++ b/parlamentares/models.py @@ -2,8 +2,8 @@ import datetime from django.db import models from django.utils.translation import ugettext_lazy as _ - from model_utils import Choices + from sapl.utils import YES_NO_CHOICES diff --git a/protocoloadm/models.py b/protocoloadm/models.py index 27b405ac6..6b04db2b6 100644 --- a/protocoloadm/models.py +++ b/protocoloadm/models.py @@ -2,9 +2,9 @@ from uuid import uuid4 from django.db import models from django.utils.translation import ugettext_lazy as _ +from model_utils import Choices from materia.models import Autor, TipoMateriaLegislativa, UnidadeTramitacao -from model_utils import Choices from sapl.utils import YES_NO_CHOICES diff --git a/sessao/models.py b/sessao/models.py index c8bf89df4..b3522c5af 100644 --- a/sessao/models.py +++ b/sessao/models.py @@ -1,8 +1,8 @@ from django.db import models from django.utils.translation import ugettext_lazy as _ +from model_utils import Choices from materia.models import MateriaLegislativa -from model_utils import Choices from parlamentares.models import (CargoMesa, Legislatura, Parlamentar, SessaoLegislativa) from sapl.utils import YES_NO_CHOICES