From 4b1d109714a8445da383d0538727fa1a9993c9d6 Mon Sep 17 00:00:00 2001 From: Christopher Neugebauer Date: Thu, 22 Sep 2016 20:30:03 +1000 Subject: [PATCH] Fixes issues with rendering stripe widgets securely. --- registripe/forms.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/registripe/forms.py b/registripe/forms.py index ce62d8e2..4d906fd6 100644 --- a/registripe/forms.py +++ b/registripe/forms.py @@ -41,7 +41,7 @@ class StripeWidgetProxy(widgets.Widget): def __deepcopy__(self, memo): copy_underlying = copy.deepcopy(self.underlying, memo) - return type(self)(copy_underlying) + return type(self)(copy_underlying, self.secure) def __getattribute__(self, attr): spr = super(StripeWidgetProxy, self).__getattribute__ @@ -52,7 +52,6 @@ class StripeWidgetProxy(widgets.Widget): def render(self, name, value, attrs=None): - print "RENDER: " + name if not attrs: attrs = {}