from django import forms
from django.forms import ModelForm
from .models import *


class AddEScooterForm(ModelForm):


    class Meta:
        model = EScooterInCart
        fields = ['cart', 'escooter', 'quantity']
        widgets = {'cart': forms.HiddenInput, 'escooter': forms.HiddenInput}

646005a05a9504c1e0db57633524edd4953a985b
<mask token>

<mask token>


class AddEScooterForm(ModelForm):


    class Meta:
        model = EScooterInCart
        fields = ['cart', 'escooter', 'quantity']
        widgets = {'cart': forms.HiddenInput, 'escooter': forms.HiddenInput}

from django import forms
from django.forms import ModelForm
from .models import *


class AddEScooterForm(ModelForm):


    class Meta:
        model = EScooterInCart
        fields = ['cart', 'escooter', 'quantity']
        widgets = {'cart': forms.HiddenInput, 'escooter': forms.HiddenInput}
