mirror of
				https://gitlab.crans.org/mediatek/med.git
				synced 2025-11-04 11:12:19 +01:00 
			
		
		
		
	Fix edition des adhérents
This commit is contained in:
		@@ -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):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user