Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit a9093dd3763df6b2045a08b0520f248bda708723 1 parent 87908b4
Ramiro Morales ramiro authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/contrib/auth/models.py
4 django/contrib/auth/models.py
View
@@ -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')
])
Please sign in to comment.
Something went wrong with that request. Please try again.