From a11d6c698fe21c322614fe34c8508ec524c1b99b Mon Sep 17 00:00:00 2001 From: Andrey Date: Fri, 16 Mar 2018 12:04:18 +0300 Subject: [PATCH] pay --- finance/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/finance/views.py b/finance/views.py index 9b99799..d43b591 100644 --- a/finance/views.py +++ b/finance/views.py @@ -77,7 +77,7 @@ class BillListView(APIView): % ( invoice.bill.opener.get_full_name(), invoice.bill.user.email, - Course.objects.get(invoice.bill.course_token).title, + Course.objects.get(token=invoice.bill.course_token).title, ), 'robo@skillbox.ru', [invoice.bill.opener.email],