forgot to push a few things before

This commit is contained in:
Thomas Steen Rasmussen 2016-05-12 10:01:26 +02:00
parent 7212cb0081
commit 10d344f6f8
2 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,6 @@
from django import forms
class CheckoutForm(forms.ModelForm):
class PaymentMethodForm(forms.ModelForm):
class Meta:
model = Order
fields = ['payment_method']

View file

@ -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'