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