Fixes issues with rendering stripe widgets securely.
This commit is contained in:
parent
26b249d48d
commit
4b1d109714
1 changed files with 1 additions and 2 deletions
|
@ -41,7 +41,7 @@ class StripeWidgetProxy(widgets.Widget):
|
||||||
|
|
||||||
def __deepcopy__(self, memo):
|
def __deepcopy__(self, memo):
|
||||||
copy_underlying = copy.deepcopy(self.underlying, memo)
|
copy_underlying = copy.deepcopy(self.underlying, memo)
|
||||||
return type(self)(copy_underlying)
|
return type(self)(copy_underlying, self.secure)
|
||||||
|
|
||||||
def __getattribute__(self, attr):
|
def __getattribute__(self, attr):
|
||||||
spr = super(StripeWidgetProxy, self).__getattribute__
|
spr = super(StripeWidgetProxy, self).__getattribute__
|
||||||
|
@ -52,7 +52,6 @@ class StripeWidgetProxy(widgets.Widget):
|
||||||
|
|
||||||
def render(self, name, value, attrs=None):
|
def render(self, name, value, attrs=None):
|
||||||
|
|
||||||
print "RENDER: " + name
|
|
||||||
if not attrs:
|
if not attrs:
|
||||||
attrs = {}
|
attrs = {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue