Alter date_of_birth

This commit is contained in:
Skia
2016-01-28 09:36:24 +01:00
parent 8ea1727475
commit 367fddbdab
2 changed files with 20 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class User(AbstractBaseUser, PermissionsMixin):
first_name = models.CharField(_('first name'), max_length=30)
last_name = models.CharField(_('last name'), max_length=30)
email = models.EmailField(_('email address'), unique=True)
date_of_birth = models.DateTimeField(_('date of birth'))
date_of_birth = models.DateField(_('date of birth'))
nick_name = models.CharField(max_length=30, blank=True)
is_staff = models.BooleanField(
_('staff status'),