forgot to push a few things before
This commit is contained in:
parent
7212cb0081
commit
10d344f6f8
|
@ -1,6 +1,6 @@
|
|||
from django import forms
|
||||
|
||||
class CheckoutForm(forms.ModelForm):
|
||||
class PaymentMethodForm(forms.ModelForm):
|
||||
class Meta:
|
||||
model = Order
|
||||
fields = ['payment_method']
|
||||
|
|
|
@ -27,7 +27,8 @@ class ProductDetailView(LoginRequiredMixin, DetailView):
|
|||
|
||||
class CheckoutView(LoginRequiredMixin, DetailView):
|
||||
"""
|
||||
Shows the products contained in an order, and a button to go to the payment
|
||||
Shows a summary of all products contained in an order,
|
||||
total price, VAT, and a button to go to the payment
|
||||
"""
|
||||
model = Order
|
||||
template_name = 'shop/order_detail.html'
|
||||
|
|
Loading…
Reference in a new issue