|
|
@ -1826,7 +1826,10 @@ class ProposicaoForm(FileFieldCheckMixin, forms.ModelForm): |
|
|
'ano_materia', |
|
|
'ano_materia', |
|
|
'tipo_texto', |
|
|
'tipo_texto', |
|
|
'hash_code', |
|
|
'hash_code', |
|
|
'numero_materia_futuro'] |
|
|
'numero_materia_futuro', |
|
|
|
|
|
'user', |
|
|
|
|
|
'ip', |
|
|
|
|
|
'ultima_edicao'] |
|
|
|
|
|
|
|
|
widgets = { |
|
|
widgets = { |
|
|
'descricao': widgets.Textarea(attrs={'rows': 4}), |
|
|
'descricao': widgets.Textarea(attrs={'rows': 4}), |
|
|
@ -1834,6 +1837,7 @@ class ProposicaoForm(FileFieldCheckMixin, forms.ModelForm): |
|
|
'hash_code': forms.HiddenInput(), |
|
|
'hash_code': forms.HiddenInput(), |
|
|
'user': forms.HiddenInput(), |
|
|
'user': forms.HiddenInput(), |
|
|
'ip': forms.HiddenInput(), |
|
|
'ip': forms.HiddenInput(), |
|
|
|
|
|
'ultima_edicao': forms.HiddenInput() |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
def __init__(self, *args, **kwargs): |
|
|
def __init__(self, *args, **kwargs): |
|
|
|