Browse Source

Arruma quebra em pesquisa por Relatoria

pull/282/head
Eduardo Calil 9 years ago
parent
commit
2a321f5ccc
  1. 5
      .gitignore
  2. 2
      materia/forms.py

5
.gitignore

@ -89,6 +89,11 @@ bower
bower_components bower_components
media media
<<<<<<< HEAD
# Merge garbage # Merge garbage
.orig .orig
=======
#merge garbage
.orig
>>>>>>> Arruma quebra em pesquisa por Relatoria

2
materia/forms.py

@ -652,7 +652,7 @@ class MateriaLegislativaPesquisaFields(FilterSet):
empty_label='Selecione', empty_label='Selecione',
help_text="") help_text="")
relatoria__parlamentar__id = django_filters.ModelChoiceFilter( relatoria__parlamentar_id = django_filters.ModelChoiceFilter(
label='Relator', label='Relator',
required=False, required=False,
queryset=Parlamentar.objects.all().order_by('nome_parlamentar'), queryset=Parlamentar.objects.all().order_by('nome_parlamentar'),

Loading…
Cancel
Save