From 3b318cf623adfa35fd8938360344632b3b4e8cbc Mon Sep 17 00:00:00 2001 From: Ludovic Stephan Date: Wed, 8 Feb 2017 15:31:10 -0200 Subject: [PATCH] correct timedelta --- kfet/management/commands/loadkfetdevdata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kfet/management/commands/loadkfetdevdata.py b/kfet/management/commands/loadkfetdevdata.py index 9b25103a..14f72417 100644 --- a/kfet/management/commands/loadkfetdevdata.py +++ b/kfet/management/commands/loadkfetdevdata.py @@ -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) ) # ---