Skip to content
Snippets Groups Projects
Commit 69d15708 authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Improve consistency of help text for slack

parent 776957e9
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ class ProfileForm(forms.ModelForm):
if slack:
slack = slack.strip()
if ' ' in slack:
raise forms.ValidationError('Slack IDs must not include spaces')
raise forms.ValidationError('Slack names must not include spaces')
if not slack.startswith('@'):
slack = '@' + slack
......
......@@ -13,6 +13,6 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='user',
name='slack',
field=models.CharField(blank=True, help_text='This is the name we should "@" when sending notifications', max_length=50, verbose_name='Slack name'),
field=models.CharField(blank=True, help_text='This is the name we should "@mention" when sending notifications', max_length=50, verbose_name='Slack name'),
),
]
......@@ -59,7 +59,7 @@ class User(AbstractUser):
slack = models.CharField(
verbose_name='Slack name',
blank=True,
help_text='This is the name we should "@" when sending notifications',
help_text='This is the name we should "@mention" when sending notifications',
max_length=50,
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment