Commit ef7625d2 authored by Mediatek's avatar Mediatek

Fix edition des adhérents

parent 5c51a568
......@@ -269,9 +269,12 @@ class ClefForm(ModelForm):
fields = '__all__'
class AdhesionForm(ModelForm):
adherent = forms.ModelMultipleChoiceField(User.objects.all(), widget=forms.CheckboxSelectMultiple)
class Meta:
model = Adhesion
fields = ['annee_debut', 'annee_fin']
# fields = ['annee_debut', 'annee_fin']
fields = '__all__'
class RightForm(ModelForm):
def __init__(self, *args, **kwargs):
......
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