Chercheurs
[auf_savoirs_en_partage_django.git] / auf_savoirs_en_partage / chercheurs / forms.py
1 # -*- encoding: utf-8 -*-
2 from django import forms
3 from models import *
4
5 class PersonneForm(forms.ModelForm):
6 class Meta:
7 model = Personne
8 fields = ('nom', 'prenom', 'courriel', 'genre')
9
10 class ChercheurForm(forms.ModelForm):
11 class Meta:
12 model = Chercheur
13 fields = ('pays', 'discipline', 'groupes')