Browse Source

Arruma quebra em pesquisa por Relatoria

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

3
.gitignore

@ -88,3 +88,6 @@ collected_static
bower bower
bower_components bower_components
media media
#merge garbage
.orig

2
materia/forms.py

@ -641,7 +641,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