Chercheurs + sitotheque
[auf_savoirs_en_partage_django.git] / auf_savoirs_en_partage / sitotheque / forms.py
CommitLineData
54ab837c
AJ
1# -*- encoding: utf-8 -*-
2from django import forms
3from models import *
4
5class SiteSearchForm(forms.Form):
6 mots_cles = forms.CharField (required = False, label="Mots-clés")
7 discipline = forms.ModelChoiceField(queryset=Discipline.objects.all(), required=False, label="Discipline", empty_label="Tous")
8 thematique = forms.ModelChoiceField(queryset=Thematique.objects.all(), required=False, label="Thématique", empty_label="Tous")
9 pays = forms.ModelChoiceField(queryset=Pays.objects.all(), required=False, label="Pays", empty_label="Tous")
10