feat: Enforces minimum length for registration reason
Adds a minimum length requirement of 30 characters to the registration reason field to ensure more detailed responses.
This commit is contained in:
parent
d8d791e8c9
commit
044f18b822
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ class RegistrationForm(forms.Form):
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
registration_reason = forms.CharField(
|
registration_reason = forms.CharField(
|
||||||
|
min_length=30,
|
||||||
widget=forms.Textarea(
|
widget=forms.Textarea(
|
||||||
attrs={
|
attrs={
|
||||||
"class": "textarea",
|
"class": "textarea",
|
||||||
|
|
Loading…
Reference in a new issue