mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-11-03 00:54:31 +01:00
Use datetime.today for DateField
This commit is contained in:
@@ -55,7 +55,7 @@ class Invoice(models.Model):
|
||||
)
|
||||
|
||||
date = models.DateField(
|
||||
default=timezone.now,
|
||||
default=datetime.today,
|
||||
verbose_name=_("Date"),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user