|
@ -1,9 +1,9 @@ |
|
|
from datetime import datetime |
|
|
from datetime import datetime |
|
|
|
|
|
|
|
|
import reversion |
|
|
|
|
|
from django.db import models |
|
|
from django.db import models |
|
|
from django.utils.translation import ugettext_lazy as _ |
|
|
from django.utils.translation import ugettext_lazy as _ |
|
|
from model_utils import Choices |
|
|
from model_utils import Choices |
|
|
|
|
|
import reversion |
|
|
|
|
|
|
|
|
from sapl.base.models import Autor |
|
|
from sapl.base.models import Autor |
|
|
from sapl.utils import (INDICADOR_AFASTAMENTO, UF, YES_NO_CHOICES, |
|
|
from sapl.utils import (INDICADOR_AFASTAMENTO, UF, YES_NO_CHOICES, |
|
@ -305,7 +305,6 @@ class Parlamentar(models.Model): |
|
|
('nome_completo', '__icontains'), |
|
|
('nome_completo', '__icontains'), |
|
|
('nome_parlamentar', '__icontains'), |
|
|
('nome_parlamentar', '__icontains'), |
|
|
('filiacao__partido__sigla', '__icontains'), |
|
|
('filiacao__partido__sigla', '__icontains'), |
|
|
('ativo', '', true_false_none), |
|
|
|
|
|
)) |
|
|
)) |
|
|
|
|
|
|
|
|
class Meta: |
|
|
class Meta: |
|
|