Commit 735116d1 authored by Mikachu's avatar Mikachu
Browse files

Filtre les emeteurs de consos et exclu les comptes supprimés

parent b1a1bc0f
......@@ -13,7 +13,7 @@ class BoutonConsoForm(forms.Form):
Un formulaire pour noter de nouvelles consos
emetteurs = forms.ModelMultipleChoiceField(queryset=Note.objects.order_by('adherent_id'), required=True)
emetteurs = forms.ModelMultipleChoiceField(queryset=Note.objects.order_by('adherent_id').exclude(adherent__supprime=True), required=True)
boutons = forms.ModelMultipleChoiceField(queryset=Bouton.objects.order_by('id'), required=True)
quantite = forms.IntegerField(initial=1, required=True)
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