Commit 1a334208 authored by Amap's avatar Amap

Bug sur la suppression d'article

parent 23c493ec
...@@ -82,7 +82,7 @@ class DelPanierForm(ModelForm): ...@@ -82,7 +82,7 @@ class DelPanierForm(ModelForm):
paniers = forms.ModelMultipleChoiceField(queryset=Panier.objects.all(), label="Articles en vente actuellement", widget=forms.CheckboxSelectMultiple) paniers = forms.ModelMultipleChoiceField(queryset=Panier.objects.all(), label="Articles en vente actuellement", widget=forms.CheckboxSelectMultiple)
class Meta: class Meta:
exclude = ['nom','prix'] exclude = ['nom','prix','coefficient_panier']
model = Panier model = Panier
class CreditForm(ModelForm): class CreditForm(ModelForm):
......
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