1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-21 12:38:26 +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,5 +1,4 @@
import random
from datetime import timezone
from django.contrib.auth.mixins import LoginRequiredMixin
from django.contrib.auth.models import AnonymousUser
@ -8,6 +7,7 @@ from django.db.models import Q
from django.http import FileResponse
from django.shortcuts import redirect
from django.urls import reverse_lazy
from django.utils import timezone
from django.utils.translation import gettext_lazy as _
from django.views import View
from django.views.generic import CreateView, UpdateView, DetailView, FormView