|
|
@ -1,6 +1,5 @@ |
|
|
|
from datetime import datetime |
|
|
|
|
|
|
|
import django_filters |
|
|
|
from crispy_forms.helper import FormHelper |
|
|
|
from crispy_forms.layout import HTML, Button, Column, Fieldset, Layout |
|
|
|
from django import forms |
|
|
@ -9,7 +8,9 @@ from django.db import models |
|
|
|
from django.db.models import Max |
|
|
|
from django.forms import ModelForm |
|
|
|
from django.utils.translation import ugettext_lazy as _ |
|
|
|
import django_filters |
|
|
|
|
|
|
|
from sapl.base.models import Autor |
|
|
|
from sapl.comissoes.models import Comissao |
|
|
|
from sapl.crispy_layout_mixin import form_actions, to_row |
|
|
|
from sapl.norma.models import (LegislacaoCitada, NormaJuridica, |
|
|
@ -19,7 +20,7 @@ from sapl.settings import MAX_DOC_UPLOAD_SIZE |
|
|
|
from sapl.utils import (RANGE_ANOS, RangeWidgetOverride, autor_label, |
|
|
|
autor_modal) |
|
|
|
|
|
|
|
from .models import (AcompanhamentoMateria, Anexada, Autor, Autoria, |
|
|
|
from .models import (AcompanhamentoMateria, Anexada, Autoria, |
|
|
|
DespachoInicial, DocumentoAcessorio, MateriaLegislativa, |
|
|
|
Numeracao, Proposicao, Relatoria, TipoMateriaLegislativa, |
|
|
|
Tramitacao, UnidadeTramitacao) |
|
|
|