1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-04 01:32:11 +02:00

datetime are time-zoned

This commit is contained in:
Yohann D'ANELLO
2020-05-05 13:54:26 +02:00
parent 72ca257bc3
commit f5367828ca
3 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,5 @@
import random
import zipfile
from datetime import timezone
from io import BytesIO
from django.contrib.auth.mixins import LoginRequiredMixin
@ -11,6 +10,7 @@ from django.http import HttpResponse
from django.shortcuts import redirect
from django.template.loader import render_to_string
from django.urls import reverse_lazy
from django.utils import timezone
from django.utils.decorators import method_decorator
from django.utils.translation import gettext_lazy as _
from django.views import View