fix date writing

This commit is contained in:
Ludovic Stephan 2016-10-03 14:47:13 +02:00
parent ad0c398292
commit 018f493b16

View file

@ -14,7 +14,7 @@ class Command(BaseCommand):
def handle(self, *args, **options):
now = timezone.now()
self.stdout.write(now)
self.stdout.write(now.__str__())
reventes = SpectacleRevente.objects.all()
for revente in reventes:
# Check si < 24h