From 1b9f76823f6a11cd5db3dd6a413ebe5df3cad10d Mon Sep 17 00:00:00 2001 From: Christopher Neugebauer Date: Mon, 25 Apr 2016 12:59:43 +1000 Subject: [PATCH] Etc --- registrasion/views.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/registrasion/views.py b/registrasion/views.py index 15f35d74..c71cdc9d 100644 --- a/registrasion/views.py +++ b/registrasion/views.py @@ -511,9 +511,7 @@ def checkout(request): "error_list", [str, ...] # The errors to display. } - - Runs checkout for the current cart of items, ideally generating an - invoice. ''' + ''' current_cart = CartController.for_user(request.user) @@ -590,7 +588,8 @@ def invoice(request, invoice_id, access_code=None): Returns: render: - Renders ``registrasion/invoice.html``, with the following data:: + Renders ``registrasion/invoice.html``, with the following + data:: { "invoice": models.commerce.Invoice(),