diff donations/views.py @ 1184:fbfb1a9c70e2

Make donations business a list. Paypal is now returning a different business email in IPN messages.
author Brian Neal <bgneal@gmail.com>
date Sun, 17 Oct 2021 14:40:53 -0500
parents 7fb9bc5a1232
children 8ec03abf16c1
line wrap: on
line diff
--- a/donations/views.py	Mon Feb 15 12:39:26 2021 -0600
+++ b/donations/views.py	Sun Oct 17 14:40:53 2021 -0500
@@ -71,7 +71,7 @@
         'pct': pct,
         'donations': donations,
         'form_action': form_action,
-        'business': business,
+        'business': business[0],
         'anonymous': settings.DONATIONS_ANON_NAME,
         'item_name': settings.DONATIONS_ITEM_NAME,
         'item_number': settings.DONATIONS_ITEM_NUM,