fixed typo in registration form
This commit is contained in:
parent
ddc473cac2
commit
07e8c7e047
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ class BorgRepositoryForm(forms.ModelForm):
|
|||
|
||||
class RegisterUserForm(UserCreationForm):
|
||||
email = forms.EmailField()
|
||||
voucher = forms.CharField(help_text="You registration voucher.")
|
||||
voucher = forms.CharField(help_text="Your registration voucher.")
|
||||
|
||||
def clean_voucher(self):
|
||||
obj = Voucher.objects.filter(code=self.cleaned_data["voucher"], used=False)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue