From c6eb63077146763cf284a6350ed9db2526860f25 Mon Sep 17 00:00:00 2001 From: Bob Booij-Liewes Date: Wed, 18 Dec 2024 20:59:40 +0100 Subject: [PATCH] Update timezone import This should since django 5 be done from python datetime library instead of the django library --- binder/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binder/models.py b/binder/models.py index e1259643..c6611395 100644 --- a/binder/models.py +++ b/binder/models.py @@ -19,7 +19,7 @@ from django.db.models import signals from django.core.exceptions import ValidationError from django.db.models.query_utils import Q -from django.utils import timezone +from datetime import timezone from django.utils.translation import gettext_lazy as _ from django.utils.dateparse import parse_date, parse_datetime