correct timedelta

This commit is contained in:
Ludovic Stephan 2017-02-08 15:31:10 -02:00
parent c6e84b8cb4
commit 3b318cf623

View file

@ -89,7 +89,7 @@ class Command(MyBaseCommand):
created_by=Account.objects.get(trigramme='000'),
name='Chaudron',
valid_from=timezone.now(),
valid_to=timezone.now() + timedelta(years=1)
valid_to=timezone.now() + timedelta(days=365)
)
# ---