diff --git a/opentech/apply/users/forms.py b/opentech/apply/users/forms.py index 34fc190423061f8df12379a6e7432aeb371010dd..88e7bdbc44a63114c5929a66055b805d56fc51b8 100644 --- a/opentech/apply/users/forms.py +++ b/opentech/apply/users/forms.py @@ -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 diff --git a/opentech/apply/users/migrations/0007_user_slack.py b/opentech/apply/users/migrations/0007_user_slack.py index 65336119a83b839deec9e2ecf641414da146d3f8..177e18168a780bfa9cb95f21b84f57a66a49f4f7 100644 --- a/opentech/apply/users/migrations/0007_user_slack.py +++ b/opentech/apply/users/migrations/0007_user_slack.py @@ -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'), ), ] diff --git a/opentech/apply/users/models.py b/opentech/apply/users/models.py index 1260022079cd2e82551c1c87c0f5466532822bcd..62e753ef3dc3fbf270a0873add6ebc4364477ded 100644 --- a/opentech/apply/users/models.py +++ b/opentech/apply/users/models.py @@ -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, )