Commit 33319994 authored by chirac's avatar chirac

Update forms.py, user_source=None

parent db198c46
...@@ -243,7 +243,7 @@ class RechargeForm(FormRevMixin, Form): ...@@ -243,7 +243,7 @@ class RechargeForm(FormRevMixin, Form):
label=_("Payment method") label=_("Payment method")
) )
def __init__(self, *args, user=None, user_source, **kwargs): def __init__(self, *args, user=None, user_source=None, **kwargs):
self.user = user self.user = user
super(RechargeForm, self).__init__(*args, **kwargs) super(RechargeForm, self).__init__(*args, **kwargs)
self.fields['payment'].empty_label = \ self.fields['payment'].empty_label = \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment