From a2d82ddc96bccf166254c0ba4cade549467b8788 Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Fri, 4 Mar 2016 15:51:24 -0300 Subject: [PATCH] Retirar FormMixin desnecessario de PesquisaProtocolo --- protocoloadm/views.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/protocoloadm/views.py b/protocoloadm/views.py index f54494152..975573e66 100644 --- a/protocoloadm/views.py +++ b/protocoloadm/views.py @@ -40,10 +40,9 @@ protocolo_documento_crud = Crud(Protocolo, '') protocolo_materia_crud = Crud(Protocolo, '') -class ProtocoloListView(FormMixin, ListView): +class ProtocoloListView(ListView): template_name = 'protocoloadm/protocolo_list.html' context_object_name = 'protocolos' - form_class = ProtocoloForm model = Protocolo paginate_by = 10