from django import forms
PRODUCT_QUANTITY_CHOICES = [(i, str(i)) for i in range(1, 100)]


class CartAddProductForm(forms.Form):
    quantity = forms.ChoiceField(choices=PRODUCT_QUANTITY_CHOICES, widget=
        forms.Select(attrs={'class': 'form-control', 'style':
        'width: 90px; text-align:center'}))
    update = forms.BooleanField(required=False, initial=False, widget=forms
        .HiddenInput)

d61ed2d99b22dccda3738af4c73025c0047b4e7b
<mask token>


class CartAddProductForm(forms.Form):
    <mask token>
    <mask token>

<mask token>


class CartAddProductForm(forms.Form):
    quantity = forms.ChoiceField(choices=PRODUCT_QUANTITY_CHOICES, widget=
        forms.Select(attrs={'class': 'form-control', 'style':
        'width: 90px; text-align:center'}))
    update = forms.BooleanField(required=False, initial=False, widget=forms
        .HiddenInput)

<mask token>
PRODUCT_QUANTITY_CHOICES = [(i, str(i)) for i in range(1, 100)]


class CartAddProductForm(forms.Form):
    quantity = forms.ChoiceField(choices=PRODUCT_QUANTITY_CHOICES, widget=
        forms.Select(attrs={'class': 'form-control', 'style':
        'width: 90px; text-align:center'}))
    update = forms.BooleanField(required=False, initial=False, widget=forms
        .HiddenInput)

from django import forms
PRODUCT_QUANTITY_CHOICES = [(i, str(i)) for i in range(1, 100)]


class CartAddProductForm(forms.Form):
    quantity = forms.ChoiceField(choices=PRODUCT_QUANTITY_CHOICES, widget=
        forms.Select(attrs={'class': 'form-control', 'style':
        'width: 90px; text-align:center'}))
    update = forms.BooleanField(required=False, initial=False, widget=forms
        .HiddenInput)
