mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2024-11-27 01:27:10 +00:00
Fix edition des adhérents
This commit is contained in:
parent
5c51a56881
commit
ef7625d2a4
@ -269,9 +269,12 @@ class ClefForm(ModelForm):
|
|||||||
fields = '__all__'
|
fields = '__all__'
|
||||||
|
|
||||||
class AdhesionForm(ModelForm):
|
class AdhesionForm(ModelForm):
|
||||||
|
adherent = forms.ModelMultipleChoiceField(User.objects.all(), widget=forms.CheckboxSelectMultiple)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Adhesion
|
model = Adhesion
|
||||||
fields = ['annee_debut', 'annee_fin']
|
# fields = ['annee_debut', 'annee_fin']
|
||||||
|
fields = '__all__'
|
||||||
|
|
||||||
class RightForm(ModelForm):
|
class RightForm(ModelForm):
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
|
Loading…
Reference in New Issue
Block a user