Fixed #21387 -- Merge two very similar help texts.

This commit is contained in:
Ramiro Morales 2013-11-06 00:35:20 -03:00
parent 87908b4fc2
commit a9093dd376
1 changed files with 2 additions and 2 deletions

View File

@ -358,8 +358,8 @@ class AbstractUser(AbstractBaseUser, PermissionsMixin):
Username, password and email are required. Other fields are optional.
"""
username = models.CharField(_('username'), max_length=30, unique=True,
help_text=_('Required. 30 characters or fewer. Letters, numbers and '
'@/./+/-/_ characters'),
help_text=_('Required. 30 characters or fewer. Letters, digits and '
'@/./+/-/_ only.'),
validators=[
validators.RegexValidator(r'^[\w.@+-]+$', _('Enter a valid username.'), 'invalid')
])