Browse Source

Tira o FormMixin de PesquisaMateria, para na nao quebrar no Django 1.9

pull/237/head
Eduardo Calil 9 years ago
parent
commit
5eff34bb29
  1. 2
      materia/views.py

2
materia/views.py

@ -1596,7 +1596,7 @@ class MateriaLegislativaPesquisaView(FormMixin, GenericView):
return redirect('pesquisar_materia_list') return redirect('pesquisar_materia_list')
class PesquisaMateriaListView(FormMixin, ListView): class PesquisaMateriaListView(ListView):
template_name = 'materia/pesquisa_materia_list.html' template_name = 'materia/pesquisa_materia_list.html'
context_object_name = 'materias' context_object_name = 'materias'
model = MateriaLegislativa model = MateriaLegislativa

Loading…
Cancel
Save