|
@ -1,6 +1,7 @@ |
|
|
|
|
|
|
|
|
import os |
|
|
import os |
|
|
|
|
|
|
|
|
|
|
|
import django_filters |
|
|
from crispy_forms.bootstrap import Alert, FormActions, InlineRadios |
|
|
from crispy_forms.bootstrap import Alert, FormActions, InlineRadios |
|
|
from crispy_forms.helper import FormHelper |
|
|
from crispy_forms.helper import FormHelper |
|
|
from crispy_forms.layout import (HTML, Button, Column, Div, Field, Fieldset, |
|
|
from crispy_forms.layout import (HTML, Button, Column, Div, Field, Fieldset, |
|
@ -21,8 +22,8 @@ from django.utils.encoding import force_text |
|
|
from django.utils.html import format_html |
|
|
from django.utils.html import format_html |
|
|
from django.utils.safestring import mark_safe |
|
|
from django.utils.safestring import mark_safe |
|
|
from django.utils.translation import ugettext_lazy as _ |
|
|
from django.utils.translation import ugettext_lazy as _ |
|
|
import django_filters |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import sapl |
|
|
from sapl.base.models import Autor, TipoAutor |
|
|
from sapl.base.models import Autor, TipoAutor |
|
|
from sapl.comissoes.models import Comissao |
|
|
from sapl.comissoes.models import Comissao |
|
|
from sapl.compilacao.models import (STATUS_TA_IMMUTABLE_PUBLIC, |
|
|
from sapl.compilacao.models import (STATUS_TA_IMMUTABLE_PUBLIC, |
|
@ -41,7 +42,6 @@ from sapl.utils import (RANGE_ANOS, YES_NO_CHOICES, |
|
|
MateriaPesquisaOrderingFilter, RangeWidgetOverride, |
|
|
MateriaPesquisaOrderingFilter, RangeWidgetOverride, |
|
|
autor_label, autor_modal, models_with_gr_for_model, |
|
|
autor_label, autor_modal, models_with_gr_for_model, |
|
|
qs_override_django_filter) |
|
|
qs_override_django_filter) |
|
|
import sapl |
|
|
|
|
|
|
|
|
|
|
|
from .models import (AcompanhamentoMateria, Anexada, Autoria, DespachoInicial, |
|
|
from .models import (AcompanhamentoMateria, Anexada, Autoria, DespachoInicial, |
|
|
DocumentoAcessorio, Numeracao, Proposicao, Relatoria, |
|
|
DocumentoAcessorio, Numeracao, Proposicao, Relatoria, |
|
|