bornhack-website/shop/forms.py

8 lines
133 B
Python

from django import forms
from .models import Order
class AddToOrderForm(forms.Form):
quantity = forms.IntegerField(initial=1)