Commit ab0bede4 authored by Gilles Quenot's avatar Gilles Quenot

handle haystack SearchForm

parent 76d18d9b
Pipeline #1188 failed with stage
in 10 minutes and 31 seconds
from django import forms
#from django import forms
from haystack import SearchForm
from dal import autocomplete, forward
from representatives.models import Chamber, Group
class RepresentativeSearchForm(forms.Form):
class RepresentativeSearchForm(SearchForm):
search = forms.CharField(
......@@ -65,6 +66,10 @@ class RepresentativeSearchForm(forms.Form):
#from haystack doc remplir cette f() TODO
def search():
#triggered by submiting forms, and return (S)QS corespondant recherche
class DossierSearchForm(forms.Form):
search = forms.CharField(
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment