move the person up
This commit is contained in:
parent
6c172405ca
commit
a232ca414c
|
@ -321,6 +321,7 @@ def checkout(request):
|
||||||
cart_position_list = []
|
cart_position_list = []
|
||||||
totalprice_list = []
|
totalprice_list = []
|
||||||
total = 0
|
total = 0
|
||||||
|
person = Person.objects.get(user=request.user.id)
|
||||||
|
|
||||||
checkout_form = CheckoutForm()
|
checkout_form = CheckoutForm()
|
||||||
if 'currency' not in request.session:
|
if 'currency' not in request.session:
|
||||||
|
@ -378,7 +379,6 @@ def checkout(request):
|
||||||
Seams like your cart was
|
Seams like your cart was
|
||||||
not existent before. How come? """
|
not existent before. How come? """
|
||||||
total = sum(totalprice_list)
|
total = sum(totalprice_list)
|
||||||
person = Person.objects.get(user=request.user.id)
|
|
||||||
|
|
||||||
return render(request, 'webshop/checkout.html',
|
return render(request, 'webshop/checkout.html',
|
||||||
{'cart_position_list': cart_position_list,
|
{'cart_position_list': cart_position_list,
|
||||||
|
|
Loading…
Reference in New Issue