Add WEI form on signup form
This commit is contained in:
parent
db67598b25
commit
080510bcf2
9 changed files with 91 additions and 34 deletions
|
|
@ -24,11 +24,6 @@ class WEIForm(forms.ModelForm):
|
|||
|
||||
|
||||
class WEIRegistrationForm(forms.ModelForm):
|
||||
def __init__(self, *args, **kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
self.fields["payment_method"].empty_label = _("No credit, directly pay with note balance")
|
||||
|
||||
class Meta:
|
||||
model = WEIRegistration
|
||||
exclude = ('wei', 'information_json', )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue