From c9214b956eb1aee5515d0b47a2c42d171f66c244 Mon Sep 17 00:00:00 2001 From: erjemin Date: Sun, 4 Dec 2022 01:32:29 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=D1=8C=D1=8E=D1=88=D0=BA=D0=B0:=20"=D0=9A?= =?UTF-8?q?=D0=B0=D1=82=D0=B0=D0=BB=D0=BE=D0=B3=20/=20=D0=9E=D0=BA=D0=BE?= =?UTF-8?q?=D0=BD=D0=BD=D1=8B=D0=B5=20=D0=BF=D1=80=D0=BE=D1=84=D0=B8=D0=BB?= =?UTF-8?q?=D0=B8=20/=20=D0=9F=D1=80=D0=BE=D0=B8=D0=B7=D0=B2=D0=BE=D0=B4?= =?UTF-8?q?=D0=B8=D1=82=D0=B5=D0=BB=D1=8C=20/=20=D0=9C=D0=BE=D0=B4=D0=B5?= =?UTF-8?q?=D0=BB=D1=8C"=20--=20minor=20(=D1=83=D0=B1=D1=80=D0=B0=D0=BB=20?= =?UTF-8?q?=D0=BE=D1=82=D0=BB=D0=B0=D0=B4=D0=BA=D1=83=20print)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oknardia/web/catalog.py | 1 - 1 file changed, 1 deletion(-) diff --git a/oknardia/web/catalog.py b/oknardia/web/catalog.py index 98fe02d..c09abcb 100644 --- a/oknardia/web/catalog.py +++ b/oknardia/web/catalog.py @@ -272,7 +272,6 @@ def catalog_profile_model(request: HttpRequest, manufacture_id: int, manufacture to_template.update({'PUB_DAT': q_pvc_by_id.dProfileModify}) if len(list_profiles_detail) > 0: pub_data = sorted(list_profiles_detail, key=lambda item: item.dPostDataModify)[0].dPostDataModify - print(pub_data, q_pvc_by_id.dProfileModify) if pub_data.replace(tzinfo=None) < q_pvc_by_id.dProfileModify.replace(tzinfo=None): to_template.update({'PUB_DAT': pub_data}) to_template.update({