Changeset 3930
- Timestamp:
- 10/24/06 15:45:28 (2 years ago)
- Files:
-
- django/trunk/django/contrib/auth/models.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/contrib/auth/models.py
r3924 r3930 93 93 email = models.EmailField(_('e-mail address'), blank=True) 94 94 password = models.CharField(_('password'), maxlength=128, help_text=_("Use '[algo]$[salt]$[hexdigest]'")) 95 is_staff = models.BooleanField(_('staff status'), help_text=_("Designates whether the user can log into this admin site."))95 is_staff = models.BooleanField(_('staff status'), default=False, help_text=_("Designates whether the user can log into this admin site.")) 96 96 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.")) 97 is_superuser = models.BooleanField(_('superuser status'), help_text=_("Designates that this user has all permissions without explicitly assigning them."))97 is_superuser = models.BooleanField(_('superuser status'), default=False, help_text=_("Designates that this user has all permissions without explicitly assigning them.")) 98 98 last_login = models.DateTimeField(_('last login'), default=models.LazyDate()) 99 99 date_joined = models.DateTimeField(_('date joined'), default=models.LazyDate())
