Django

Code

Ticket #6881: auth_help_text.diff

File auth_help_text.diff, 1.3 kB (added by DavidReynolds, 6 months ago)

Quick patch to modify the help text

  • django/contrib/auth/models.py

    old new  
    134134    email = models.EmailField(_('e-mail address'), blank=True) 
    135135    password = models.CharField(_('password'), max_length=128, help_text=_("Use '[algo]$[salt]$[hexdigest]' or use the <a href=\"password/\">change password form</a>.")) 
    136136    is_staff = models.BooleanField(_('staff status'), default=False, help_text=_("Designates whether the user can log into this admin site.")) 
    137     is_active = models.BooleanField(_('active'), default=True, help_text=_("Designates whether this user can log into the Django admin. Unselect this instead of deleting accounts.")) 
     137    is_active = models.BooleanField(_('active'), default=True, help_text=_("Designates whether this user can log into this site. Unselect this instead of deleting accounts.")) 
    138138    is_superuser = models.BooleanField(_('superuser status'), default=False, help_text=_("Designates that this user has all permissions without explicitly assigning them.")) 
    139139    last_login = models.DateTimeField(_('last login'), default=datetime.datetime.now) 
    140140    date_joined = models.DateTimeField(_('date joined'), default=datetime.datetime.now)