|
@ -285,7 +285,6 @@ class ProtocoloMateriaView(FormView): |
|
|
return reverse('protocoloadm:protocolo') |
|
|
return reverse('protocoloadm:protocolo') |
|
|
|
|
|
|
|
|
def post(self, request, *args, **kwargs): |
|
|
def post(self, request, *args, **kwargs): |
|
|
# import ipdb; ipdb.set_trace() |
|
|
|
|
|
|
|
|
|
|
|
form = ProtocoloMateriaForm(request.POST) |
|
|
form = ProtocoloMateriaForm(request.POST) |
|
|
|
|
|
|
|
@ -605,7 +604,6 @@ class TramitacaoAdmIncluirView(FormView): |
|
|
form = TramitacaoAdmForm(request.POST or None) |
|
|
form = TramitacaoAdmForm(request.POST or None) |
|
|
|
|
|
|
|
|
if form.is_valid(): |
|
|
if form.is_valid(): |
|
|
# import ipdb; ipdb.set_trace() |
|
|
|
|
|
tramitacao = form.save(commit=False) |
|
|
tramitacao = form.save(commit=False) |
|
|
tramitacao.ultima = False |
|
|
tramitacao.ultima = False |
|
|
tramitacao.save() |
|
|
tramitacao.save() |
|
|