From 741dd2685e2cf5d1d85e471647ae5000719a494a Mon Sep 17 00:00:00 2001 From: erjemin Date: Wed, 18 Jan 2023 00:15:58 +0300 Subject: [PATCH] =?UTF-8?q?minor:=20=D0=B2=D0=BE=D1=82=20=D1=82=D0=B0?= =?UTF-8?q?=D0=BA=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=B0=D0=B5=D1=82=20?= =?UTF-8?q?=D0=B2=20=D0=BF=D1=80=D0=BE=D0=B4=D0=B0=D1=88=D0=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oknardia/web/prices.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/oknardia/web/prices.py b/oknardia/web/prices.py index 7769d69..37c4771 100644 --- a/oknardia/web/prices.py +++ b/oknardia/web/prices.py @@ -590,7 +590,8 @@ def report_price(request: HttpRequest, build_id: str = "22427", apart_id: str = to_template.update({'BASE_SERIA': q_base_seria.sName, 'BASE_SERIA_LAT': base_seria_slug, 'BASE_SERIA_ID': q_base_seria.id}) - except (ValueError, IndexError, TypeError, ObjectDoesNotExist): + # except (ValueError, IndexError, TypeError, ObjectDoesNotExist): + except ObjectDoesNotExist: return redirect("/") ############################################### # получаем массив окон для данной квартиры...