mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-24 16:03:47 +00:00
Update forms.py, user_source=None
This commit is contained in:
parent
db198c46ad
commit
3331999434
1 changed files with 1 additions and 1 deletions
|
@ -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 = \
|
||||||
|
|
Loading…
Reference in a new issue