bornhack-website/shop/forms.py

8 lines
138 B
Python
Raw Normal View History

from django import forms
class CheckoutForm(forms.ModelForm):
class Meta:
model = Order
fields = ['payment_method']