mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-11 04:19:25 +00:00
Change DateField to DateTimeField to improve indexing efficency
This commit is contained in:
@ -106,7 +106,7 @@ class User(AbstractBaseUser):
|
||||
),
|
||||
)
|
||||
date_joined = models.DateField(_('date joined'), auto_now_add=True)
|
||||
last_update = models.DateField(_('last update'), auto_now=True)
|
||||
last_update = models.DateTimeField(_('last update'), auto_now=True)
|
||||
is_superuser = models.BooleanField(
|
||||
_('superuser'),
|
||||
default=False,
|
||||
|
Reference in New Issue
Block a user