1
0
espelhamento de https://github.com/ae-utbm/sith.git sincronizado 2026-03-23 20:15:03 +00:00

Alter date_of_birth

Esse commit está contido em:
Skia
2016-01-28 09:36:24 +01:00
commit 367fddbdab
2 arquivos alterados com 20 adições e 1 exclusões

Ver Arquivo

@@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0003_auto_20160111_0900'),
]
operations = [
migrations.AlterField(
model_name='user',
name='date_of_birth',
field=models.DateField(verbose_name='date of birth'),
),
]

Ver Arquivo

@@ -45,7 +45,7 @@ class User(AbstractBaseUser, PermissionsMixin):
first_name = models.CharField(_('first name'), max_length=30) first_name = models.CharField(_('first name'), max_length=30)
last_name = models.CharField(_('last name'), max_length=30) last_name = models.CharField(_('last name'), max_length=30)
email = models.EmailField(_('email address'), unique=True) 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) nick_name = models.CharField(max_length=30, blank=True)
is_staff = models.BooleanField( is_staff = models.BooleanField(
_('staff status'), _('staff status'),