|
@@ -111,8 +111,8 @@ class Loan(models.Model):
|
|
|
item = models.ForeignKey(Item, verbose_name='objet', related_name='loans')
|
|
|
user = models.ForeignKey(settings.AUTH_USER_MODEL, verbose_name='membre',
|
|
|
related_name='loans')
|
|
|
- loan_date = models.DateField(verbose_name='date de prêt')
|
|
|
- loan_date_end = models.DateField(verbose_name='date de fin de prêt',
|
|
|
+ loan_date = models.DateTimeField(verbose_name='date de prêt')
|
|
|
+ loan_date_end = models.DateTimeField(verbose_name='date de fin de prêt',
|
|
|
null=True, blank=True)
|
|
|
notes = models.TextField(null=True, blank=True)
|
|
|
|