Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
d54655cd
Verified
Commit
d54655cd
authored
Feb 13, 2017
by
Sébastiaan Versteeg
Browse files
Make sure the send_welcome_email field is not required
parent
0ffc7234
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/members/forms.py
View file @
d54655cd
...
...
@@ -34,6 +34,7 @@ class UserCreationForm(forms.ModelForm):
send_welcome_email
=
forms
.
BooleanField
(
label
=
_
(
'Send welcome email'
),
help_text
=
_
(
'This email will include the generated password'
),
required
=
False
,
initial
=
True
)
def
save
(
self
,
commit
=
True
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment