diff --git a/shop/forms.py b/shop/forms.py index d3442c84..3174a955 100644 --- a/shop/forms.py +++ b/shop/forms.py @@ -1,6 +1,6 @@ from django import forms -class CheckoutForm(forms.ModelForm): +class PaymentMethodForm(forms.ModelForm): class Meta: model = Order fields = ['payment_method'] diff --git a/shop/views.py b/shop/views.py index 8c977e99..2b97d700 100644 --- a/shop/views.py +++ b/shop/views.py @@ -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'