From ef95c4dc81c470263f379a3be1a0d842937f8436 Mon Sep 17 00:00:00 2001 From: Eduardo Edson Batista Cordeiro Alves Date: Thu, 17 Sep 2015 16:36:12 -0300 Subject: [PATCH] Fix a error in ExpedienteView --- sessao/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sessao/views.py b/sessao/views.py index ef6dd2e41..54f431a93 100644 --- a/sessao/views.py +++ b/sessao/views.py @@ -733,7 +733,7 @@ class ExpedienteView(FormMixin, sessao_crud.CrudDetailView): ExpedienteSessao.objects.get( sessao_plenaria_id=self.object.id, - tip_oid=tipo + tipo_id=tipo ).delete() expediente = ExpedienteSessao()